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
Tianah Rose
974 PointsHTML Lists Challenge- question
I'm stuck on the last one {#6} nd it says, "Add the items 'Square' and 'Circle' to the list nested under 'Shapes'." I feel like that's what I'm doing, but I guess I'm doing it wrong. I feel like I have tried everything and still says it's not right. This is what I have: <ul><li>Shapes<ol> <li>Square</li> <li>Circle</li> <li>Stop</li> <li>Drop</li> <li>Roll</li>
</ol></li> <li>Colors</li> </ul> What am I doing wrong?
5 Answers
Tianah Rose
974 PointsOh wow. The code turned into regular text! Well, it's basically:
*Shapes{1st line} >>nested: Square{2nd line} Circle{3rd line} Stop{4th line} Drop{5th line Roll<<< *Colors{6th line}
Is that right?
Alyssa Gowan
46,260 PointsIt should look similar to this: <ol> <li>Stop</li> <li>Drop</li> <li>Roll</li> <ul> <li>Shapes</li> ...and so on. Hopefully it will help! :)
Alyssa Gowan
46,260 PointsSo sorry! My ordered/unordered list markers didn't show up... But there should be ordered list, list item, Stop, close list item, and so on.
James Roberts
4,294 Points*/ Here's a nested table that should work */
<ul>
<li> Shapes
<ol>
<li>Square</li>
<li>Circle</li>
</ol>
</li> */ and then you have the rest of the unordered list items below. This should work.
James Roberts
4,294 Points*/
James Roberts
4,294 Points/*
Tianah Rose
974 PointsThank you everyone! I didn't know I had to type in another ol for shape and circle. But yay! I did it! Thanks again!
Zoe Peng
10,809 PointsZoe Peng
10,809 PointsHi, I just finished these challenge :)
I think you may have something misunderstand.
in {#4} & {#5}, we have "unordered list" with "Shapes" & "Colors", and need to create the nest "ordered list" inside. and {#6}, we have to add "Square" & "Circle" in "Shapes".
Result will like :
ul1 is Shapes ol1 is Square ol2 is Circle ul2 is Colors
Hopefully it will be useful.