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

Larry Gregory
Larry Gregory
656 Points

Im still having problems with this code challenge. i tried so many ways and im still keep getting it wrong.

where do u put the following 3 list items at?

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>HTML Lists Challenge</title>
  </head>
  <body>

    <h1>HTML Lists Challenge</h1>

    <!-- Write your code below -->
<ol>
  <li>first
      <Ol>
        <li>stop</li>
    </Ol>
  </li>
  <li>second
      <Ol>
        <li>drop</li>
      </Ol>
  </li>
  <li>third
      <Ol>
        <li>roll</li>
      </OL>

  </li>
</ol>


  </body>
</html>

2 Answers

james south
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
james south
Front End Web Development Techdegree Graduate 33,271 Points

there's only one ordered list here. it is the parent of 3 list items.

<ol>
  <li>item 1</li>
  <li>item 2</li>
  <li>item 3</li>
</ol>

is the syntax.

Larry Gregory
Larry Gregory
656 Points

thats what i did on the first task. its asking me to Add the following list items to the ordered list: "Stop", "Drop", and "Roll".

<ul>
  <li>stop
    <ul>
    <li>first</li>
    </ul>
  </li>
  <li>drop
    <ul>
    <li>second</li>
    </ul>
  </li>
  <li>roll
    <ul>
    <li>third</li>
    </ul>
  </li>
</ul>

did u mean this?