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

Add a nested ordered list to the "Shapes" list item. Help

I cant figure out why im getting an error. The error says "Try adding the ordered list inside the list item Shapes". Heres what I have:

<ul>
  <li>Shapes</li>
  <ol>
      <li>Square</li>
        <li>Circle</li>
        <li>Triangle</li>
    </ol>
  <li>Colors</li>
</ul>

PS: ive never been stuck yet during this whole deep dive. Its probably something im over thinking but any advice/help would be awesome! thanks!

10 Answers

Mike Morales
Mike Morales
19,833 Points

It's not nested inside of your shapes lists. And yes you are missing something?

Mike Morales
Mike Morales
19,833 Points

Michael -

You're forgetting to nest your ordered lists inside of your shapes lists.

I just tested this in notepad and firefox and it worked just fine....

Isn't it already nested inside my shapes list? I think I'm missing something ha

OK! Got it. I see what you were saying now. Thanks for the help! Over thought it ha

Mike Morales
Mike Morales
19,833 Points

Glad, I could help! Keep up the good work, man!

('''html <ul> <li>Shapes</li> <ol> <li>Square</li> <li>Circle</li> <li>Triangle</li> </ol> <li>Colors</li> </ul>''') Im having the same issue. Any help wold be appreciated.Thanks

I wasn't nesting it inside of shapes. Shoild be something like this:

<ul> <li> Shapes <ol> <li> Circle </li> </ol> </li> </ul>

I get it now. Thanks

Mike Morales
Mike Morales
19,833 Points

I'm glad you figured it out.