Start with the basics of JavaScript or we can say basic of any programming language
- Print statement
- Data types and variables
- Basic operators
- Logical operators
- Comparisons
- Loops and statements
These all are pretty basic stuff in any programming language
{ 7 / 20 }
π Start with JavaScript Variables
Variable are nothing but containers for storing data values. You will use them almost 100% in your JavaScript code.
There are three ways to declare a variable using var, let and const keyword
{ 8 / 20 }
π JavaScript helps you to add behaviour in you websites.
These two methods can help you to add interaction using which user can interact with your web page
1. alert() 2. prompt()
{ 9 / 20 }
alert() - display a dialog with an optional message, and to wait until the user dismisses the dialog
prompt() - display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog
{ 10 / 20 }
π Loops and conditional statements
Loops are nothing but piece of code that repeats itself on a particular situation whereas conditional statement is a piece of code that runs when particular conditions occurs
Loops:
{ 11 / 20 }
Some intermediate topics that you should cover in JavaScript
5 amazing CSS properties you won't believe really exist π¨
𧡠ππ»
1οΈβ£ touch-action
The touch-action CSS property sets how an element's region can be manipulated by a touchscreen user (for example, by zooming features built into the browser).
This propety accepts the following values ππ»
2οΈβ£ will-change
You can optimize the performance of your web page by adding one line of CSSπ€―
The will-change CSS property hints to browsers how an element is expected to change. It can increase the speed by doing potentially expensive work before they are actually required.