Now, to keep things really simple, we’re not going to be installing any code editor or IDEs.
All you need for this to work is your good old web browser.
Open your preferred browser.
Press either CTRL + SHIFT + I or F12 to open the Developer Tools.
Click on the console tab to enter into the developer console.
Write the following code in the developer’s console.
Then press Enter.
Now, to have a little fun, you can try out other variations of this code like:
console.log(6 + 4);
console.log("Programming is hard but fun");
alert(6 + 6);
You get the idea. Happy coding!!