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 trialKristi Benedict
2,441 PointsHelp with HTML Challenge Task 5
I can get through the challenges to task 5 and enter the nested list it asks for, the nested list shows up in the preview and I've changed nothing else then it tells me that task 2 is no longer working.
6 Answers
Frank Meza
8,393 PointsHey Kristi,
Are you putting the nested list inside or outside of the <li> tag for Shapes?
Kristi Benedict
2,441 PointsHere is task #5 in the challenge where it asks for the ordered, nested list to be added to the "Shapes"
<ul>
<li>Shapes
<ol>
<li>square</li>
<li>circle</li>
</ol>
</li>
<li>Colors</li>
</ul>
<ul>
<li>hat</li>
<li>boots</li>
<li>gloves</li>
</ul>
<ol>
<li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ol>
<ol>
<li>milk</li>
<li>cheese</li>
<li>bread</li>
</ol>
James Barnett
39,199 PointsIt looks like you are having a little trouble getting your code to show up in the forum. For some tips on how to do that, check out the tips for asking questions video located in the right hand sidebar.
filipponegri
3,663 Points<ul> <li>Shapes</li> what is wrong with that?
<ul> <li>Shapes</li> <ol> <li>first</li> <li>second</li> </ol> <li>Colors</li> </ul>
Frank Meza
8,393 PointsYou might not be passing because of the extra lists that you have going. Try using just the Shapes and Colors lists. Other than that, I think that your code should be good.
Kristi Benedict
2,441 PointsThe instructions are to leave the previous code in there and complete the next task. But just to see, I did remove all but the Shapes and Colors list and it told me "oops, it looks like Task 2 is no longer working".
Frank Meza
8,393 PointsOh, I think I know where you went wrong... I found out the hard way (trying many times) that often when the challenge is to add some sort of markup, the answer is to only add the tags for it, without any actual list items. So, remove "square" and circle" for the time being. I know that the aim of the forums is not to provide you with the code to pass the particular challenge, but I think it's necessary here to give you an example of what I mean.
<ol>
<li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ol>
<ul>
<li>Shapes
<ol>
</ol>
</li>
<li>Colors</li>
</ul>
Kristi Benedict
2,441 PointsThank you Frank.....that's what I was doing wrong.....I was able to finish the challenge.
Frank Meza
8,393 PointsSure! Happy to help!