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

i added square and circle nested shapes list

i dont know what is the problem with wat is it asking

index.html
<!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 </li>
      <li>Square</li>
      <li>Circle</li>
      <li>Colors</li>
    </ul>

  </body>
</html>

Where did the code for task 5 go (Add a nested ordered list to the "Shapes" list item)? Your Square and Circle elements will go between those tags.

4 Answers

Florian Woelki
Florian Woelki
10,607 Points

Hi!

You need to read the tasks carefully. Nested means in the list item itself.

Good luck and keep on coding!

Cheers

they want you to nest a ordered list (<ol></ol>)inside the shapes list item
<li>Shapes </li> <ol> <li></li> </ol> <li>Square</li> <li>Circle</li>

they want you to nest a ordered list : (<ol></ol>)inside the shapes list item <li>Shapes </li> <ol> <li>"example"</li> </ol> <li>Square</li> <li>Circle</li>

Note From Moderator:

The contents of this post has been deleted as it gives the answer to the challenge and doesn't explain how the HTML works. The preferred way of answering help requests for a challenge is to explain what the student got incorrect, how to do it properly, and why the given solution works. This allows other students who read the answer to understand the why and the how, instead of just knowing a certain code snippet works.

Happy Learning!