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!
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
Quiz question number 2
I get the first question correct but when I go to answer the 2nd question it tells me that the first question is now wrong. I'm not sure what I'm doing wrong.
Erik McClintock45,783 Points
The error message that the challenge gave you is misleading; the problem in your code is that you've got "var" before "myArray" on line 18, which would be you redeclaring it. Remove "var", and you're good to go!
Allen Brown32,515 Points
Eric, try removing the var from line 18. You have already created the variable in line 16, so no need to use var again.