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 trialCristian Castro
Courses Plus Student 12,666 PointsI don't know what I'm doing wrong
JavaScript Quiz
You got 2 question(s) right. You got these questions correct:
- How many states are in the United States?
- How many legs does an insect have?
You got these questions wrong:
- How many continents are there?
This appears when I did the quiz. What I'm I doing wrong? I'm not sure.
Steven Parker
231,275 PointsThe best way to share your code would be to make a snapshot of your workspace and provide the link to it.
1 Answer
Hua Liu
5,927 PointsI think, instead of using "correct.push(question)"and "wrong.push(question)", you may use "correct[i]=question", am I right? If that is the case, please use push instead :)
miikis
44,957 Pointsmiikis
44,957 PointsHey Cristian,
Can you post your code?