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

Challenge 5 of 6 - I have properly "Added a nested order list" but keep getting a error message.

I added the ordered list nested under the list item shapes.... but the code challenge doesn't seem to decipher my code correctly.

3 Answers

Kate Hoferkamp
Kate Hoferkamp
5,205 Points

Did you put the nested ordered list before the closing </li> for shapes?

If you put it there the code should work!

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

Thanks.... All 3 responses said (confirmed) the same thing. The nested <ol> </ol> needed to be WITHIN the 'parent' <li>...</li>

Thanks for the help.

Placing your code here to view would help answer your question. Are you remembering to place the ol tags inside the li tags - after Shapes and before the closing li tag?

Tricia Martin
Tricia Martin
19,604 Points

Can you post your code so we can see what is going on? I think Kate Hoferkamp's answer should help you. Make sure the ordered list is inside the list item.