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 trialwh2
5,955 PointsHTML quiz: "Add a nested ordered list to the "Shapes" list item."
I'm sure I'm getting it right but it keeps saying it's wrong?
<ul> <li>Shapes</li> <ol> </ol> <li>Colors</li> </ul>
The ordered list is now under "Shapes", so why is this considered incorrect?
Please help, thanks!
6 Answers
Stone Preston
42,016 Pointsremember to add another list as a nested list to a list item:
<li>List Item
<ol>
</ol>
</li>
notice how the ol tags are inside the opening and closing li tags.
wh2
5,955 Points''' <ul> <li>Shapes</li> <ol> </ol> <li>Colors</li> </ul> '''
Sorry, first time post. Didn't realize I had to use the three back ticks.
Stone Preston
42,016 Pointssee my above comment for a hint that should help you out.
wh2
5,955 PointsWhoops that didn't work either.
'''html
<ul> <li>Shapes</li> <ol> </ol> <li>Colors</li> </ul> '''
Stone Preston
42,016 Pointsdo the three ticks, add a new line, post your code, go to a new line and add the three ticks. the tick is the button to the left of the 1 key. not sure what the character is called.
wh2
5,955 Points<ul>
<li>Shapes</li>
<ol>
</ol>
<li>Colors</li>
</ul>
wh2
5,955 PointsOk, now I understand. Thank you very much!
Stone Preston
42,016 Pointsok so you passed the challenge?
wh2
5,955 PointsYes I did. Thank you very much, Stone!
Stone Preston
42,016 Pointsno problem glad I could help
Stone Preston
42,016 PointsStone Preston
42,016 Pointsplease post the code you are using.