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 trialSue Sures
679 PointsThe HTML list challenge keeps returning two responses indicating that my code is incorrect. Unable to proceed.
The HTML List Objective Challenge Task 2 is preventing me from progressing further. The challenge requires me to add list items "Stop", "Drop", "Roll" to the ordered list.
The code i entered is a normal ordered list.
However when i check the work, I keep getting one of the below responses:
1 - Add three elements to the list 2 - There are too many items in your unordered list , remove some. (even though the question requires me to add to a ordered list).
Any help would be appreciated.
2 Answers
Baptiste Fehrenbach
2,227 PointsCan you please show the html code ?
Baptiste Fehrenbach
2,227 PointsYou forgot the ul tag !
<ul>
<li> Things </li>
<li> Things </li>
</ul>```
Baptiste Fehrenbach
2,227 PointsWait, i missread ! If you need an ordered list this is an ol tag, ul is for unordered lists !
Sue Sures
679 PointsI did add it, i added the < ol > tag instead because it asked for an ordered list. It did not appear in the list above for some reason. So the code i used was html < ol > < li > Stop < /li > < li > Drop < /li > < li > Roll < /l i> </ol > . Do you think there maybe a glitch or something?
Baptiste Fehrenbach
2,227 PointsYou don't close the ol tag ! I tried the challenge and success ! It's and unordered list so use
<ul></ul>
Sue Sures
679 PointsSue Sures
679 PointsThank you for getting back to me. What is the best way to show the code?
Baptiste Fehrenbach
2,227 PointsBaptiste Fehrenbach
2,227 PointsJust comment this topic with the part of the code that doesn't work :)
Sue Sures
679 PointsSue Sures
679 Points<html> <head>List Challenge</head> <body> <ol> <li>Stop</li> <li>Drop</li> <li>Roll</li> </ol> </body> </html>
Does this make sense?