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

Oliver Payne
Oliver Payne
3,751 Points

Add a nested ordered list to the "Shapes" list item.

Hi All,

I'm struggling to figure out why my code isn't passing on step 5/6. I get the message "Oops! It looks like Task 2 is no longer passing."

  <ul>
      <li>Shapes
        <ol>
        <li>Square</li>
            <li>Circle</li>
            <li>Triangle</li>
       </ol>
     </li>
      <li>Colors</li>
    </ul>

Thanks, OP

Your code looks ok

Jacob Miller
Jacob Miller
12,466 Points

Did you leave the ordered list that you added in the first few steps unchanged?

2 Answers

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

    <ul>
      <li>Shapes
        <ol>
        </ol>
      </li>
      <li>Colors</li>
    </ul>
Oliver Payne
Oliver Payne
3,751 Points

A little random but on 2/5 it wouldn't let me complete the task with the unorganised list at the bottom of the code, moving the same code above the order list it allowed me to pass. Maybe a bug?

After dumping my browser it's now all working, many thanks.