Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Rianne Poot
1,856 PointsHTML Deep Dive List Code Challenge
I somehow can't get through exercise 5 of the Code Challenge. It asks to put a nested ordered list to an already existing ul list item. This is the code I used and when looked at it in preview, it gets the job done, however i get the feedback "Bummer! Try adding the ordered list inside the list item "Shapes". (Of course i tried empty list items, but this doesn't solve the problem.) What am i doing wrong?
<ul>
<li>Shapes</li>
<ol>
<li>Stop</li>
</ol>
<li>Colors</li>
</ul>
2 Answers

James Barnett
39,199 PointsYour ol needs to be inside a li.
<!-- A list element (i.e. <ul> or <ol> ) can only contain an <li></li> -->
<ul>
<li>
<ol>
<li></li>
</ol>
</li>
<li></li>
</ul>

Rianne Poot
1,856 PointsHaha.. Wauw, sometimes the answer is so simple it hurts.. Thanks though!