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 trialJoe Abbatelli
Courses Plus Student 273 PointsAdd a nested ordered list to the "Shapes" list item.
How do I Add a nested ordered list to the "Shapes" list item on my first code challenge of Deep Dive HTML?
5 Answers
eirikvaa
18,015 PointsThe below is just an example:
<ul id="first-list">
<li> This is a list item
<ol id="second-list">
<li>This is another list item</li>
</ol>
</li>
</ul>
Joe Abbatelli
Courses Plus Student 273 PointsI tried that but it still says I'm doing it wrong
Joe Abbatelli
Courses Plus Student 273 PointsAnd I don't know how to show all my code in the comments
eirikvaa
18,015 PointsCheck the Markdown Cheatsheet for instructions on how to post properly formatted code.
Joe Abbatelli
Courses Plus Student 273 Points <li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ol>
<ul>
<li>Shapes</li>
<ol>
<li>Colors</li>
</ul>
</body>
</html>
eirikvaa
18,015 PointsYou will have to do something like this:
<ul>
<li>Shapes
<ol>
<!-- List items goes here -->
</ol>
</li>
<li>Colors</li>
</ul>
Joe Abbatelli
Courses Plus Student 273 PointsSweet, got it! Thank you very much