Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
In this video, we'll introduce you to this new, updated Object-Oriented JavaScript course.
Prerequisites
Before on embarking on this course, be sure you've taken these courses first:
- JavaScript Basics | Treehouse
- JavaScript Loops | Treehouse
- JavaScript Arrays | Treehouse
- JavaScript Objects | Treehouse
Using Node.js
In this course, whether you follow along using workspaces or download the project files, you'll be using node to run your code. This is simple. In workspaces, node is all set up for you. On your local machine, you must first install node. When you want to run a file, use your terminal to navigate to the file directory (you don't have to worry about navigating in workspaces either). Once you're in the file's directory, simply type node your-filename.js
into the terminal and hit enter. Any output from your file will be displayed in the terminal. If you don't have node installed, keep reading for installation instructions.
Installing Node on Your Local Machine
If you'd like to download node.js on your local machine, visit the Node.js website, and follow the instructions there.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up