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

HTML

Potential bug in Stage 3: Lists/Code HTML Lists Quiz 5 (Nested List)?

Below is my HTML answer to quiz 5, it looks correct in the preview, but comes as something: "too many UL listed items, remove a few" Removed, same error pop up. Wondering what am I doing wrong, or is it a bug? Thanks!

<!-- Write your code below --> <ol> <li>Stop</li> <li>Drop</li> <li>Roll</li>

</ol>

<ul>
  <li>Shapes</li>
  <ul>
    <li>Shapes</li>
    <li>Colors</li>
  </ul>  
  </body>
</html>

2 Answers

You're missing the second closing ul tag.

<ul>
  <li>Shapes</li>
  <ul>
    <li>Shapes</li>
    <li>Colors</li>
  </ul>
</ul> 

Thanks, I know. Did it on purpose, as with a closing tag html is not rendering properly. "Try again: Your unordered list has too many list items. Try removing some."

Rodger Voelkel
Rodger Voelkel
21,736 Points
<ul>
  <li>Shapes
    <ul>
      <li>Shapes</li>
      <li>Colors</li>
    </ul>
  </li>
</ul>  

When you have an unordered list within a list you need to make sure the close of that list is after the close of its unordered list.