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

Karen Luhning
Karen Luhning
1,364 Points

How do I move on? I am pretty sure I am answering the question correctly but it won't let me advance.

Please tell me what I am doing incorrectly.

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>HTML Lists Challenge</title>
  </head>
  <body>

    <h1>HTML Lists Challenge</h1>

    <!-- rite ur code below -->
    <ul>
      <li>Shapes 
        <ol><li></li>
          <li></li>

        </ol>
      </li>
      <li>Colors</li>
    </ul>
    <ol>
      <li>Stop</li>
      <li>Drop</li>
      <li>Roll</li>

    </ol>


  </body>
</html>

Hi Karen, can you send me a link of the challenge or what the challenge is requesting you to do?

6 Answers

Hi Karen, I believe you need to add "square" and "Circle" inside the <li> tags nested inside the <ol> tags

 <ol>
      <li>Stop</li>
      <li>Drop</li>
      <li>Roll</li>
    </ol>
    <ul>
      <li>Shapes
        <ol>
          <li>Square</li>
          <li>Circle</li>
        </ol>  
      </li>
      <li>Colors</li>
    </ul>
Karen Luhning
Karen Luhning
1,364 Points

The challenge hasn't asked me to do that yet.

Did it ask you to add an "ordered list" inside the Shapes list?

Ok, try submitting the code by removing the <li></li> tags inside the <ol></ol> tags nested inside the shapes list

 <ol>
      <li>Stop</li>
      <li>Drop</li>
      <li>Roll</li>
    </ol>
    <ul>
      <li>Shapes
        <ol>
        </ol>  
      </li>
      <li>Colors</li>
    </ul>
Karen Luhning
Karen Luhning
1,364 Points

Tried that as well. I keep getting the message that Task 2 is no longer passing.

try adding the <ul></ul> list under the first <ol> list you created, can you post the code you are submitting?

Karen Luhning
Karen Luhning
1,364 Points

<!DOCTYPE html> <html> <head> <title>HTML Lists Challenge</title> </head> <body>

<h1>HTML Lists Challenge</h1>

<!-- rite ur code below -->
<ul>
  <li>Shapes 
    <ol>          
    </ol>
  </li>
  <li>Colors</li>
</ul>
<ol>
  <li>Stop</li>
  <li>Drop</li>
  <li>Roll</li>

</ol>

Move the <ul> list under the <ol> list and see if it will accept your code then.

 <ol>
      <li>Stop</li>
      <li>Drop</li>
      <li>Roll</li>
  </ol>
  <ul>
      <li>Shapes
        <ol>
        </ol>  
      </li>
      <li>Colors</li>
  </ul>
Karen Luhning
Karen Luhning
1,364 Points

That didn't work, but I restarted the entire challenge, doing everything exactly the same and it worked. Weird. Thanks for the help!

No problem!