In this project, you will write your first javascript program that will print Hello World.
- VSCode or IntelliJ (IDE)
-
Install Node.js on your Windows, Mac, or Linux computer following the instructions here. Use the LTS version on that page.
-
Open VSCode. Create a new file called
HelloWorld.js. To this file, add javascript code to printHello world. -
From the command line, run the JavaScript file.
Try it yourself before looking at these!
Code
Console.log("Hello World");
Console Output
Hello World