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

HTML HTML Lists HTML Lists

HTML 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!

please post the code you are using.

6 Answers

remember 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.

''' <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.

see my above comment for a hint that should help you out.

Whoops that didn't work either.

'''html

<ul> <li>Shapes</li> <ol> </ol> <li>Colors</li> </ul> '''

do 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.

<ul>
      <li>Shapes</li>
        <ol>
            </ol>
      <li>Colors</li>
    </ul>

Ok, now I understand. Thank you very much!

ok so you passed the challenge?

Yes I did. Thank you very much, Stone!

no problem glad I could help