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
Furquan Ahmad
5,148 PointsStuck on- Add a nested ordered list to the "Shapes" list item.
<!DOCTYPE html> <html> <head> <title>HTML Lists Challenge</title> </head> <body>
<h1>HTML Lists Challenge</h1>
<ol>
<li> Stop </li>
<li> Drop </li>
<li> Roll </li>
</ol>
<-- Write your code below -->
<ul>
<li> Shapes </li>
<li> Colors </li>
</ul>
</body> </html>
1 Answer
Dennis Skoko
12,860 PointsA common mistake and it can be tricky at first. Pretty much you add a ordered list inside the <li> tagg like this:
<!-- Write your code below -->
<ul>
<li>Shapes
<ol>
</ol>
</li>
<li>Colors</li>
</ul>
You also forgot to add the ! in you HTML comment (refrence mine comment), that could have been your problem too.
Furquan Ahmad
5,148 PointsFurquan Ahmad
5,148 Pointsthanks got the past the stage, very frustrating, but managed to do it. I had to put the <ol> after the shapes