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 trialRyan Holm
Front End Web Development Techdegree Student 12,726 PointsIssue with projects lately
Not sure why....but I've been having issues completing task within Treehouse. This is a very easy example, definitely should pass!
<!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>Size</li>
<li>Height</li>
<li>Length</li>
</ol>
<li>Colors</li>
</ul>
</body>
</html>
3 Answers
Jennifer Rai
Courses Plus Student 13,164 PointsHi Ryan,
When you are working with nested lists, you need to make sure the nested list starts inside of the parent li tag like this:
<ul>
<li>List item one</li>
<li>List item two (don't close the tag yet)
<ol>
<li>sub list item one</li>
<li>sub list item two</li>
</ol>
</li> (now close List item two's tag)
<li>List item three</li>
</ul>
Brendan O'Brien
9,066 PointsRyan Holm , actually looking closer at your code there is a problem with your nested list.
Brendan O'Brien
9,066 PointsLooks like it should pass. But sometimes the code challenges are finicky. Can you copy and paste the challenge here? I can't remember what they are asking.
Jeremy Jantz
6,717 PointsBrendan O'Brien There's a link to the code challenge this question originated from in the sidebar right under the Start Discussion button. Hope that helps!
Brendan O'Brien
9,066 PointsAh, nice Jeremy Jantz! thanks
James Barnett
39,199 Points>
Looks like it should pass. But sometimes the code challenges are finicky
Yes sometimes they can be finicky, however the vast majority of times someone posts on the forum the issue isn't with the code challenge itself.
Brendan O'Brien
9,066 PointsYeah, I misread his code. Thought it looked good at first glance. Yeah, usually the challenges work well, but when they don't it can be really hard to tell if it's your code or the challenge.