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

Module 6 of 22 · Media

Run through node

Kostas Diakogiannis

Run through node

 Execute from Node

In order to execute a file from top to bottom we need to open our terminal (any terminal will do the job, i use the node.js command prompt here) navigate to the folder where the file we want to execute stands and hit 'node ' and the name of the file we want to execute. 

If you do that you will see that the string we wanted to print, has been printed. Success!

You can still put more JavaScript expressions and log statements to see the result!

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?