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 trialSaud Tauqeer
Courses Plus Student 8,099 Pointsscript not running
it is not working for some reason. also is it right to follow along the solution and then practice it on your own,i sometimes cant solve the challenges thats why i do it.
1 Answer
Steven Parker
231,007 PointsThe problem is on line 51:
html+="<h1>"you got these questions correcct "</h1>"; // too many quotes
html+= OrderedListHtml(correct);
html+= "<h2>You got these questions(s) wrong.</h2>"; // correct quotes
There should only be one set of quote marks around the whole string. The other ones are causing a syntax error.
See line 53 for an example of it done correctly.