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 HTML Lists HTML Lists

Stuck on task 4 & 5 in HTML code challenge

I have been trying all day to finish this quiz. I submit my answer for task 4 and it moves me on to 5 but when I submit my answer for five I get an Oops! It looks like Task 4 is no longer passing, then I have to re-do task 4.

index.html
<!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
    <ul>
      <li> Circle</li>
      <li> Square</li>
      </ul>

  <li> Colors</li>

  </body>
</html>

1 Answer

millogt
millogt
7,644 Points

I think u are getting mixed up a little. Make sure to check your opening and closing tags for each unordered list, ordered list and list item. For every opening tag there should be a closing tag.

There is a problem in your unordered list. The task asks u to add an ordered <ol> inside the Shapes <li>.

  <li>
    <ol>   
      <li></li>
      <li></li>
    </ol>      
  </li>    

Good luck!

Hmmm, could have sworn while I was watching the video he did the same thing. Okay I'll double check that. Thank you!