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

bridgette derivera
bridgette derivera
773 Points

why am i being penalized for errors i clearly am not making?

on the challenge, it says to create an ordered list. which i did, just fine. then it says to add "stop, drop, and roll" to the ordered list. i added the list items as indicated. and i received an error stating my UNordered list has too many items.

I do not have an unordered list. i am only working with the <ol></ol> tag. i have tried 4 times to pass this challenge.

the only other message received was that stop should be the first list item. even though the directions say to add it to the list, not where to add it. i placed it at the top of the list, and the same error message repeated when i rechecked my work. i deleted the previous list items, and only left stop ,drop, and roll. the same error repeats. this makes no sense, and the program keeps shutting down.

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>

  </body>
</html>

3 Answers

Ryan Field
PLUS
Ryan Field
Courses Plus Student 21,242 Points

In addition to Ted's comment above, it should be noted that both HTML and CSS are case-sensitive, meaning spelling and capitalization matters. So while you feel as if you are being penalized, forgetting to capitalize (or use small letters in some cases) can cause real headaches if you are not careful.

Some of the reasons people have difficulties with challenges are simply because the test is being finicky, but I think this is a case where paying attention is extremely important for both your own sanity and for showing clients (if that is the path you are trying to pursue) that you are paying attention.

bridgette derivera
bridgette derivera
773 Points

absolutely ryan. i will be certain to pay more attention in the future.

Your list items are not capitalized as they are in the quotes for the question.

This code passed:

<!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>

  </body>
</html>