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

Challenge step 2 of 8: add a level 2 heading inside the div containing the text,"shopping list". No spaces around the text,please.

I wrote this

div and then the h2 with ShoppingList word in it. </div>

Is this semantically correct? it fails all the time! i cant seem to correct the problem> Please help!

2 Answers

Here is a thread that goes over how to display code in the forum.

But is looks like you should have, "shopping list", like this:

<div>
<h2>shopping list</h2>
</div>

As apposed to, "ShoppingList", like this:

<div>
<h2> ShoppingList </h2>
</div>

Hope that helps.

I have already figured that out! But thanks for the answer.

Glad you figured it out.

thank you.