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 trialVIJAYTA RAWAL
434 Pointsi am not getting how to add nested ordered list in shape item list
this question is about nesting ordered lists
2 Answers
thomascawthorn
22,986 Points <ol>
<li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ol>
<ul>
<li>Shapes
<ol>
<li>Square</li>
<li>Circle</li>
</ol>
</li>
<li>Colors</li>
</ul>
Markus Ylisiurunen
15,034 PointsHi,
You can add nested list inside of one list item pretty easily. You do it the same way as creating new list.
Here is the code which will help you. It's the easiest way to explain how to do it.
<ol>
<li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ol>
<ul>
<li>Shapes
<ol>
<li>Square</li>
<li>Circle</li>
</ol>
</li>
<li>Colors</li>
</ul>
VIJAYTA RAWAL
434 Pointsthanx markus for great help
thomascawthorn
22,986 Pointsthomascawthorn
22,986 PointsCan you paste the code you're trying?