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 trialAkwa Dike
4,286 PointsPlease help with challenge "Add a nested ordered list to the "Shapes" list item"
This is what i coded but it keeps coming out wrong.
< ul >
< ul >
<li>Shapes</li>
<ol>
<li></li>
<li></li>
<li></li>
</ol>
<li>Colors</li>
< /ul >
< /ul >
2 Answers
Rodger Voelkel
21,736 Points<ul>
<li>Shapes
<ul>
<li>Shapes</li>
<li>Colors</li>
</ul>
</li>
</ul>
When you have an unordered list within a list you need to make sure the close of that list is after the close of its unordered list.
Akwa Dike
4,286 PointsThis what i coded <ul> <li>Shapes</li> <ol> <li>triangle</li> <li>triangle</li> </ol> <li>Colors</li>
</ul>
And this is what i got
Shapes
1. triangle
2. triangle
Colors
and the ordered list is needed in the shapes list item but it keep saying i'm wrong, please help with a solution somebody. i'm going crazy!
Thomas Wilson
1,829 PointsThomas Wilson
1,829 Pointsyou need <ul> tags instead of the <ol> tags