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 JavaScript Loops, Arrays and Objects Tracking Data Using Objects The Build an Object Challenge, Part 1 Solution

Nothing appears in the console when I preview workspaces

Hey everyone, when following along with Dave, I have evidently made an error somewhere along the way. When I 'preview' workspaces, 'Students' appears on the page, as it is supposed to, but nothing appears in the console. I'm not sure what I did wrong, or where I did it. Please help. Thank you, in advance! Here is my code:

var students = [

{ name: 'Forrest', track: 'Java', points: '500', age: '40' },

{ name: 'Teppy',
track: 'Javascript', points: '689', age: '38' },

{ name: 'Huckleberry', track: 'Python', points: '555', age: '5' },

{ name: 'Collette', track: 'Ruby', points: '123', age: '1'

},

{ name: 'ShawnS', track: 'C++', points: '234', age: '63' }

];

2 Answers

Students on the page is from the html

<h1>Students</h1>

Nothing in the console means no javascript errors were detected. You're doing good!

Thank you, I appreciate your answer. Evidently my brain had stopped working for a minute; I was thinking my list of objects was supposed to appear in the console, but without logging them into it, I don't know why I thought that would happen! Haha, thanks again, you got me unstuck!