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

Try adding the ordered list inside the list item "Shapes"

Im putting a ul inside a li item and it doesnt let me pass the challenge

9 Answers

By the last step, everything looks like:

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

<ul><li>Shapes</li><ol><li></li></ol><li>Colors</li></ul>

the li is supposed to go inside of the ul. Like:

<ul>
    <li>One</li>
    <li>Two</li>
    <li>Three</li>
</ul>

THE is supposed to go inside of THE.........

Take a look at the "Markdown Cheatsheet" directly below the "Add an Answer" box on this page so that you can format your code legibly on the forum.

<ul> <li>Shapes</li> <ol> <li></li> </ol> <li>Colors</li> </ul> Add a nested ordered list to the "Shapes" list item. this is how it is supposed to be but there seems to be a glitch on the challenge because it is not just me whos having this issue

<ul> <li>Shapes</li> <ol> <li></li> </ol> <li>Colors</li> </ul>

Well, if it is an "ordered list", then you should be using ol NOT ul.

<ol>
    <li>One</li>
    <li>Two</li>
    <li>Three</li>
</ol>

there is a ul with 2 li, one with Shapes and one with Colors on it... then it asks me to Add a nested ordered list to the "Shapes" list item. and that is exactly what I am doing but this is not just happening to me.....

<!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></ol>
      </li>
      <li>Colors</li>
    </ul>   
  </body>
</html>

I finally got it... thanks alot!

You're Welcome.