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 trialJanko Prester
1,521 PointsChallenge question (associative arrays) Task 7
I have this code:
http://codepen.io/anon/pen/GlLpz
It works fine when I run it on my local server (preview doesn't work on Treehouse for some reason) , but I get this error message:" Bummer! It looks like the ranking is displayed in the browser, but the HTML around it does not seem to be correct. Please double-check the spacing and other formatting." I don't see where is the problem.
Janko Prester
1,521 PointsThx for the advice!
1 Answer
Janko Prester
1,521 PointsEh.. again I found the problem myself. I've put the number values with quotes, which confused the debugger.
James Barnett
39,199 PointsJames Barnett
39,199 PointsRather than using codepen which is a code playground which supports HTML/CSS/JS use a PHP code playground