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 Multiple Items with Arrays Build a Quiz Challenge, Part 2 Solution

Check my Code

https://w.trhou.se/zkahwr8n0l

Alright, so I went about solving the quiz on my own and actually felt like I did really good. Im asking for attention towards my report function.

I notice that when I answer 2-3 questions right, everything prints normally. However, if I have at least 2 or more questions wrong, it prints the question I got wrong in a mix of ordered and unordered lists. Can I get any help with this?

1 Answer

Line 41 take the closing </ol> tag out of the for loop.