Where to Write Javascript Code
How to Run Javascript
There are 3 Possible Ways to Run Javascript Code:
- By Using Console Tab
- By Using Node.js (You Will See This in Later Sections)
- By Creating Web Page. (You Will See This in Later Sections)
Javascript Code in Console Tab
All modern browsers have a developer console that is used for debugging or finding bugs in programs, We will use the console for writing code.
Follow the Instruction Below to Reach the Developer Console.
You need to open the Developer Console, for this, you have to right-click on the page and go to inspect or you can directly use Shortcut Ctrl + Shift+ I to open Inspect Bar.

Inspect bar is known as Developer Console. (It will be displayed as Below)
.png)
You have to Go To Console Tab on Top Header Bar.

Console Tab will Look Like This.

In the Next Chapter, you will learn to write Hello World Program in Javascript.