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

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!