Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Julieta Dalla Pozza
Julieta Dalla Pozza
4,337 Points

VS CODE

I am doing all this exercises in vs and when i run this var message= "hello"; console.log(message); nothing happen, do you know why? is because is not inside a string?

1 Answer

Is this Node.js? If its, then open the terminal inside VSCode go to the directory of your project where the file is and the run node <youfilename>.js

Julieta Dalla Pozza
Julieta Dalla Pozza
4,337 Points

I am sorry, i think dont undertand much about Node.js. Where i should put this node <>.js ? Thank you