Visit this guide
, to download the IDE.
You can also use online IDEs as well, but make sure to run code on your machine to make the most out of this course.
Once the working environment is set up completely, we will write a simple hello world program.
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Explanation - We created a simple HTML5 document. Just focus on the <script> tag inside the body.
There you can find console.log("Hello World"); which prints the output Hello World onto the terminal.
To see the output,
- run this index.html file in your browser
- open the developer tool
- go to the console where you will see "Hello World"