Why JAVASCRIPT?
How to write and run Javascript
How to Add Javascript to Webpage
Representing data with values
Primitive Data Types
- Primitive Data Types
- Number Type
- String Type
- Boolean data type
- Undefined and null
- JavaScript Type Conversions
Operators
Expressions
Statements
- What are statements?
- Expression Statements
- Compound and Empty Statements
- Declaration Statements
- Conditional statements
- Loop statements
- Jump Statements
- Assignments
Arrays
Another way to execute the javascript program is to use a tool called visual studio.
- Install visual studio
- Open the visual studio.
New file->open folder->desktop->javascript code(select the folder)
Here we get first.html file .To create another file click on File and click on new. Give the file name as second.html. There is no need to set any external settings for opening and closing tags.
To run the code just double click on the file i.e second.html and run the code.
In visual studio there are particular themes: dark theme/Light theme.
Note: Focus on How to write code in Javascript rather than on which platform we are using like Notepad++,visual studio.