Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!