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!

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

UL/OL Code challg. Probs

I was prompted to add the following items to an ordered list: "stop" "drop" "roll"

Here's what I entered: <ol> <li>stop</li> <li>drop</li> <li>roll</li> </ol> And it stated that, that was incorrect. Any help is greatly appreciated

4 Answers

I think you misunderstood how to format HTML within the thread. If you look over the "Markdown Cheetsheet" reference and repost, I will be able to help you with your code.

I think you are using the wrong key for the backtick. On my MacBook it is to the left of the 1, but I'm not sure what type of computer you are on.

My bad, I didn't phrase the question correctly; In the code challenge, it appears to be prompting me to add "stop" "drop" "roll" to the 1st ordered list I created correctly: And I'll use the Markdown Sheet to illustrate

<ol>
<li>stop</li>
<li>drop</li>
<li>roll</li>
</ol>

When I placed an <ol> tag within the 1st <li> tag, it said I had too many items. When I condensed it to this it still said I was wrong. This is something that should be simple.

I think I understand what you are saying. The system will only count the code as correct if you ONLY have the stop, drop and roll list items within the ordered list. If you added another list item within the list, it may be considered wrong, even if your code is correct. I actually found a thread that I believe has the same question as the one you asked at https://teamtreehouse.com/forum/code-challenge-html-lists-stuck-in-a-loop. You should be getting a correct answer if you are typing the following though:

<ol>
    <li>stop</li>
    <li>drop</li>
    <li>roll</li>
</ol>

Just be sure you are only adding what the question asks you to! I get things wrong that I know by getting ahead of myself sometimes. I hope this helps!