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
Sharaj Joss
1,247 PointsAdd a nested ordered list to the "Shapes" list item.
I am not sure what does the question require ? From what I understand it is asking to add a nested ordered list to "Shapes" list item which is unordered list(ul). The result I receive is such as below , but I am still getting it wrong .
<ol>
<li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ol>
<ul>
<li>Shapes</li>
<ol><li>Shapes</li></ol>
<li>Colors</li>
</ul>
3 Answers
James Barnett
39,199 PointsBuilding a nested list is fairly simple. Determine where a nested list should appear, and rather than closing a list item, begin a new list. Once the nested list is complete, close the wrapping list item and continue on with the original list.
<ol>
<li>Walk the dog</li>
<li>Fold laundry</li>
<li>Go to the grocery and buy:
<ul>
<li>Milk</li>
<li>Bread</li>
<li>Cheese</li>
</ul>
</li>
<li>Mow the lawn</li>
<li>Make dinner</li>
</ol>
source: http://learn.shayhowe.com/html-css/ordered-unordered-definition-lists
Mike Morales
19,833 PointsSharaj -
Almost, got it! Your ordered list is not nested in your shapes list. You need to nest your ordered list within your shapes list. I highly recommend you re-watch the video because it clearly shows you the right way of nesting your ordered list.
Sharaj Joss
1,247 PointsAh Great ! Thank you both Mike and James !