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
Suraj Shah
4,326 PointsHtml Stage 3 Lists-- Step 6: Add the items "Square" and "Circle" to the list nested under "Shapes".
I have passed five of the steps but cant seem to get the last one. I think I am doing it correctly but the message is stating "Bummer! Add two list elements to the nested ordered list." Here is my code:
<html> <head> <title>HTML Lists Challenge</title> </head> <body>
<h1>HTML Lists Challenge</h1>
<!-- Write your code below -->
<ol>
<li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ol>
<ul>
<li>Shapes
<ol>Square</ol>
<ol>circle</ol>
</li>
<li>Colors</li>
</ul>
</body> </html>
13 Answers
reuben east
2,403 PointsThis doesn't print code for me You have your square and circle as an ordered list (1 2 3 ) instead of ol use li for list item. above and below (square and circle) you need to start another list use a ul and an /ul ol is an ordered list (1 2 3 0 ul is an unordered list (uses dots) li list items
reuben east
2,403 PointsI see I didn't figure out yet have to go back work I hope you get. try w3schools.com here is the address for nest list under HTML http://www.w3schools.com/html/tryit.asp?filename=tryhtml_lists2 www.w3schools.com/html/tryit.asp?filename=tryhtml_lists2
reuben east
2,403 PointsLink worked that will show you what I can not in this forum. Sorry that I have to try so many time but this is my first answer. Good luck it gets easier.
Suraj Shah
4,326 PointsThanks reuben east and everyone else. I found that I needed to make a separate <ol> tag inside my shapes tag and then <li> tags for square and circle.
reuben east
2,403 Points<ol> <li>Stop</li> <li>Drop</li> <li>Roll</li> </ol>
<ul> <li>Shapes</li> <ol> <li>Square</li> <li>circle</li> </oL
<li>Colors</li> </ul> That will nest them in an ordered list 1 square and 2 circle. For just dots change the <ol> and </ol> to <ul> and </ul>
Paul Hume
6,143 PointsYes...this is subtle. I did the same thing at first. Look at your tags again. "Square" and "Circle" should be tagged as <li>Square</li> and <li>Circle</li>. Small detail but that's programming. It's a good exercise, no? See the last minutes from 3:20 on up in this section again. Hope this helps.
Joseph Wasden
20,407 PointsIt may be that you haven't capitalized properly. Change <ol>circle</ol> to <ol>Circle</ol> and see if that works.
Paul Hume
6,143 Pointssorry...don't know why the tags didn't show when i typed this. it was late...:) i meant to say you should have the "li" tags around the Square and Circle (in the appropriate beginning and closing form. "<ol><li>Square</li><li>Circle</li></ol>"
Paul Hume
6,143 Pointssorry...don't know why the tags didn't show. There is a bug in these window where the tags that i type don't show i meant to say you should have the "li" tags around the Square and Circle (in the appropriate beginning and closing form.
Joseph Wasden
20,407 Pointsduplicate post
reuben east
2,403 PointsThat did work the answer that is post (that I see) doesn't make sense. To nest square and circle you start an other ul. Maybe it will print it this time <ul> <li>shapes</li> <ul> <li> square</li> <li>circle</li> </ul> <li>colors</li> </ul> That is an unorganized list with a nested list. I hope that this print right.
reuben east
2,403 Pointsthink that I figured this out ''' <ol> <li>Stop</li> <li>Drop</li> <li>Roll</li> </ol>
<ul> <li>Shapes </li> <ul> <li>Square</li> <li>circle</li> </ul> <li>Colors</li> </ul> ''' See if that works for you
Suraj Shah
4,326 PointsT