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.
Lewis Morgans3,167 Points
console.log(players); is actually correct? but says it's not...
Says to console log the last item in the array, which is at position 5.
var players = ['Jim', 'Shawna', 'Andrew', 'Lora', 'Aimee', 'Nick']; console.log(players);
Steven Parker210,423 Points
Perhaps you overlooked the caution displayed by the challenge: "Important: In each task of this code challenge, the code you write should be added to the code from the previous task."
The code shown here is correct for task 2, but the task 1 code seems to be missing.
Tsenko Aleksiev3,818 Points
You only write 5 instead of 0 to win this challenge, but you have to have both of them ( one per line ) otherwise, yes console.log(players); is true :)
John Lott5,459 Points
I'm having the same issue.
var months = ['January','February','March','April','May','June','July','August','September','October','November','December'];