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 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!