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

David Taber
PLUS
David Taber
Courses Plus Student 3,574 Points

Question 6 of code challenge add a nested ordered list after the Shapes list item. The error it says "try adding the

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

The error it says is try adding the unordered list inside the shapes list item.

3 Answers

The task is to add an ordered list inside the list item of the previous list.

The previous list you have is:

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

So now you need to add another list, but this time inside of the list item with the word "Shapes". This can be done by adding the ol tags before the closing tag of that list item </li>

Here it is completed:

<ul>
      <li>Shapes
             <ol></ol>
      </li>
      <li>Colors</li>
  </ul>
Dillon Patel
Dillon Patel
4,025 Points

Read my comment on your other post. There's no need to create multiple threads for the same issue.

Kevin Kenger
Kevin Kenger
32,834 Points

Hey David,

Did you try putting the ordered list inside of the <li>Shapes</li> element?

Like this:

      <li>Shapes
          <ol></ol>
      </li>