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

Why is this not passing? (Nested Ordered List in List Item)

<ul> <li>Shapes</li> <ol></ol> <!---why is this not passing as a nested ordered list inside my "shapes" list item-->

  <li>Colors</li>

</ul>

2 Answers

I completed the code challenge and the below code is from the second list you created - the unordered one. Not sure why you didn't pass (you didn't post the whole code), but you can check for yourself if it's something you're missing.

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

I did post it, didn't come through I guess.... Ok I think I see where my error was... I had closed my shapes <li> before putting the ordered list... let me try like that and see if it works... thanks in advance if it goes through. -Jason