Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Is there something wrong with my code? (HTML Mastery quiz)

I can't seem to get this right and it's only question #3. It's a basic questions and everything seems right to me...is it a glitch?

<div>
        <h2>Shopping List<h2>
        <ol>
          <li>Turkey</li>
          <li>Bacon</li>
          <li>Chicken</li>
        </ol>
</div>

Gives me this info: Add three items to an ordered list inside of your div. Bummer! Add 3 list items to an ordered list inside your shopping list div.

Thanks in advance for the help!

2 Answers

Dave Thomson
Dave Thomson
3,157 Points

Hi Oleg, the only thing that I can see wrong with this is the closing tag on your H2 element. The rest looks good!

Thanks Dave! That actually did the trick. I'm not sure why they let me through questions 1 and 2 then.

James Barnett
James Barnett
39,199 Points

There's a feedback button on every code challenge, you should mention this issue there so the Treehouse dev team can fix the overly permissive check on the first 2 steps.