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

Suzanne Duffin
Suzanne Duffin
6,412 Points

HTML nested list task - can't see where I am going wrong...

The code looks ok to me but is apaprently making the previous task code wrong...

8 Answers

in the challenge, Stop, Drop and Roll are items in the ordered list. Shapes and Colors are items in the unordered list. The tags should go in this order:

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

See how the tags open and close each list.

Hi Suzanne, can you post your code so we can see what's going on?

Suzanne Duffin
Suzanne Duffin
6,412 Points

Sorry, I am really struggling to post the code, something is not working, will try again in a while.

Check the Markdown Cheatsheet for info on how to post your code.

If you use three tick marks: the key in upper left of your keyboard under the ~ then go to a new line and paste your code, then new line and three tick marks

Suzanne Duffin
Suzanne Duffin
6,412 Points

My code is below

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

Awesome!