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

add a nested ordered list to the "shapes" list item

I don't know what i'm doing wrong.

Stone Preston
Stone Preston
42,016 Points

Can you post the code you have tried. See the marke down cheatsheet to see how do format code In the forum

4 Answers

Stone Preston
Stone Preston
42,016 Points

adding a nested ordered list requires putting an ordered list inside another list item.

I could add a nested ordered list to a kittens list item like so:

<li kittens

    <ol>
    </ol>

</li>

see how the ol tags are inside the list item tags?

James Barnett
James Barnett
39,199 Points

Nested lists are a common source of confusion for people new to HTML. A great explanation of how they work can be found on HTML Dog's lists tutorial.

Ahmad Abbas Zainol
Ahmad Abbas Zainol
1,323 Points

i know the answer...but i don't know how to put it in here...

James Barnett
James Barnett
39,199 Points

Ahmad Abbas Zainol -

  1. As a general rule of thumb here on the forum we want to give help not answers, so in general it's better to give an explanation and/or a hint instead so just giving an answer for someone to cut and paste without understanding why their original code was wrong.

  2. The forum uses markdown to correctly format code, check out this thread on how to type code in the forum for some examples.