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

add list items "Shapes" and"Colors" to the unordered list

"Shapes" and "Colors"

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>HTML Lists Challenge</title>
  </head>
  <body>
    <ol>
      <ul>
        <li>Stop</li>
      <li>Drop</li>
        <li>Roll</li>
      </ul>
    </ol>

    <h1>HTML Lists Challenge</h1>

    <!-- Write your code below -->


  </body>
</html>

2 Answers

Sean T. Unwin
Sean T. Unwin
28,690 Points

Separate the lists, i.e. do not nest them for this part of the challenge.

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

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

Iam made to go back to task 2

Hey Memory,

The challenge wants you to "nest" or insert some the list items within the un-ordered list. The code should look something like this:

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

lam made to go back to task 2