GoConqr has a new look! Let us know what you think.

Module 5 of 22 · Media

Our first Node script

Kostas Diakogiannis

Our first Node script

First Node.js Script

Time is up to implement our first JavaScript code that will be executed from node.js interpreter and not browser. Let's create a new folder, and inside a new JS file (i named it 'helloNode.js' ). 

Inside that file i will log to the node.js console the string 'Hello Node.js'. Simple as that. Now it's time to execute this file from top to bottom (exactly like in the browser, the synchronous way) through node.js 

Let's see how we can do that.

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?