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

Help with this please

I literally don't know what is going on. what is saying is I should add a nested ordered list items shapes.

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>
     <ol> 
       <li> Shapes</li>
     </ol> 
       <li> Colors</li>
       <li> Help  </li>  
       <li> help </li>
    </ul>


  </body>
</html>

2 Answers

You need to nest the list inside the list item of Shapes.

<!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
          <ol>
              <li>Square</li>
              <li>Circle</li>
          </ol>
       </li>
       <li>Colors</li>
    </ul>

  </body>
</html>
Zachery Irvin
Zachery Irvin
13,958 Points

So presently you have an ordered list with the shapes inside of it. All you need to to is move the ordered list inside the shapes li tags instead of being outside of it. Hence the nested part