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 Introducing the Practice

Are we using node.js here?

When doing this challenge and writing in the console "node forLoops.js" is this an example of using node.js? I am new to javascript and always hear that node.js is a valuable skill! Just trying to work out what it actually is and when it is used! Any help is appreciated! Thanks!

1 Answer

Brendan Whiting
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 Points

Yes, we are using Node.js. When you use JavaScript in a website, the code is sent to the client's browser, and it's run by their computer. Node.js is a way of running JavaScript outside of the browser, for running scripts like this in your terminal, or for building complex server applications that connect to databases and handle authentication.