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 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!