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 trialEstefania Madrigal
Full Stack JavaScript Techdegree Student 2,147 PointsThe below is what I did just for the first portion and there are no errors in console, but I only see Students.
var students = [ { name: 'Stefy', track: 'Front End Development', achievements: 777, points: 1414 }, { name: 'Alan', track: 'iOS Development with Swift', achievements: 80000, points: 90909 }, { name: 'Tere', track: 'PHP Development', achievements: 900, points: 70707 }, { name: 'Juan', track: 'Learn WordPress', achievements: '101012', points: '40404' }, { name: 'Dita', track: 'Rails Development', achievements: '945678', points: '91234' } ];
Please help
1 Answer
Steven Parker
231,275 PointsThere's no actual "code" here to do anything. This is just the creation and initialization of the "students" variable. If you're following along with the video, it may just be too soon to try running it.
I did notice that "achievements" and "points" are stored inconsistently — sometimes as numbers, and other times as strings. While this is not an error in itself, it could cause trouble later on.