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 trialAnthony Albertorio
22,624 PointsThis challenge is buggy
I placed the correct answer for question 5/6 and it is still saying that I have an error. What is the deal?
Anthony Albertorio
22,624 PointsNever mind I figured it out. Silly me. Nested code has to be placed inside of the <li> tags... like so
<!DOCTYPE html> <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>
<li>Shape</li>
</ol>
</li>
<li>Colors</li>
</ul>
</body> </html>
5 Answers
Patrick Donahue
9,523 PointsI just redid it and went through just fine.
Do you have code to show us? That can help us see what is wrong with either your code or the challenge.
Anthony Albertorio
22,624 PointsThis is the code I have placed. It is challenge 5/6.
<!DOCTYPE html> <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</li>
<ol>
<li>Shape</li>
</ol>
<li>Colors</li>
</ul>
</body> </html>
Anthony Albertorio
22,624 PointsThis is the code I have placed. It is challenge 5/6.
<!DOCTYPE html> <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</li>
<ol>
<li>Shape</li>
</ol>
<li>Colors</li>
</ul>
</body> </html>
Anthony Albertorio
22,624 Points<!DOCTYPE html> <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</li>
<ol>
<li>Shape</li>
</ol>
<li>Colors</li>
</ul>
</body> </html>
Patrick Donahue
9,523 Points<ul>
<li>Shapes</li>
<li>Colors</li>
</ul>
That should be under Shape. You moved a List Item outside of the Unordered list. I think also it should be "Shapes" but you can double check in the directions.
Anthony Albertorio
22,624 PointsNevermind. The ordered list was not properly nested inside of the shapes <li> tag. I have solved it. Thank you for trying!
Patrick Donahue
9,523 PointsSorry - I thought you said Challenge 4 not 5. Good luck!
Anthony Albertorio
22,624 PointsThanks Pat
Patrick Donahue
9,523 PointsNo problem!
Anthony Albertorio
22,624 PointsAnthony Albertorio
22,624 PointsWhat is wrong here?
<!DOCTYPE html> <html> <head> <title>HTML Lists Challenge</title> </head> <body>
</body> </html>