UNPKG

learnyounode

Version:

Learn You The Node.js For Much Win! An intro to Node.js via a set of self-guided workshops.

27 lines (17 loc) 704 B
Create a file named `hello-world.js`. Write a program that prints the text "HELLO WORLD" to the console (stdout). ---------------------------------------------------------------------- ## HINTS To make a Node.js program, create a new file with a `.js` extension and start writing JavaScript! Execute your program by running it with the `node` command. e.g.: ```sh $ node hello-world.js ``` You can write to the console in the same way as in the browser: ```js console.log('text') ``` When you are done, you must run: ```sh $ {appname} verify hello-world.js ``` to proceed. Your program will be tested, a report will be generated, and the lesson will be marked 'completed' if you are successful.