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

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