Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.