Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Node.js Basics (2014) Introduction to Node.js The Console

How do i bring up the console it's asking?

It's telling me to bring up the "console"... so i clicked Ctrl Shift J, and brought it up and tried the whole node


it didn't like this... so not sure how to bring up the console it's asking.

Ahh I didn't realize it just wanted a console.log.... That was my bad... the way it was said confused me! Thank you everyone!

3 Answers

18,798 Points

I'm not sure what ctrl+shift+j brings up on your machine, but all challenge code is written in the the area provided. In this case, you're adding to the code in the provided app.js file.

For the first stage, when it asks you to use the log method on the console object, you'll need to call the method using dot notation. You're printing out the name variable, so use that as the argument.


That should get you started, but let me know if you have any more questions.

Jason Anders
Jason Anders
Treehouse Moderator 145,740 Points

Hey Bryce,

If you're working in Workspaces, it's talking about the console in Workspaces. The console is at the bottom of the Workspace window. If it is not visible, in the Workspace menu bar View > Show Console.


Hmm. In the general workspaces I see it! I'm doing the challenge though, and I have no "view" button like I do in workspaces... I'm not sure how to bring it up in the challenge

Joakim Skansen Flatmoen
Joakim Skansen Flatmoen
Courses Plus Student 24,223 Points

Hey. If you are referring to the challenge, it wants you to log it out to the console, as a massage. the console object has several methods that can be used on it, like feks "console.log". for more information see the following Link

var name = "Andrew";
var details = { favouriteLanguage: "JavaScript", age: 31, children: 2.4 } 
var errorMessage = "Something bad has occurred";