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

Harshdeep Singh
Harshdeep Singh
4,868 Points

stop drop and roll

how to do stop drop and roll

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

    <h1>HTML Lists Challenge</h1>

    <!-- Write your code below -->


  </body>
  <ol>
    <li>First Item</li>
    <li>Second item</li>
    <li>third item</li>
    </ol>
  <ol>
    <li>aman</li>
    <li>harsh</li>
  </ol>
  </html>

1 Answer

Hi Harshdeep,

It looks like you added your list after your closing body tag. Move that code inside of your body tags and you should be fine.

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

    <h1>HTML Lists Challenge</h1>

    <!-- Write your code below -->
  <ol>
    <li>First Item</li>
    <li>Second item</li>
    <li>third item</li>
    </ol>
  <ol>
    <li>aman</li>
    <li>harsh</li>
  </ol>

  </body>

  </html>