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 Forms HTML Mastery

I'm sure I have it right

This is the code I'm writing in task 3 of this challenge:

<div>
  <h2>Shopping List<h2>
    <ol>
      <li>Milk</li>
      <li>Butter</li>
      <li>Eggs</li>
</ol>
</div>

And it doesn't seem happy. Where's my mistake? (When I write the close div tag, </div>, it appears in light grey, as if it is a mistake. However, when I delete it, the challenge program doesn't seem any happier.)

4 Answers

You need to close your h2 tag?

what begins needs to end ps : stop being so certain ,things will always surprise you

Yep, closing the h2 tag helped. Thanks Luke :)

No problem :)