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 Mastery Challenge help

"Shopping List" shows up on page looking correct, but then it says "Bummer...i couldn't find a level 2 header inside the div, with the text "Shopping List."

How can it say that...when i am looking at it on the page, that is right next to it?

This is my simple code: <div><h2>"Shopping List"</h2></div>

Gregory Davis
Gregory Davis
13,435 Points

I had the same thing happen to me. In my case it was not the "Shopping List" text, but I had accidentally entered it at the bottom, outside of the div. Make sure your level 2 header is inside of the div.

It didn't show the code that i typed above... don't know why? But thanks for your reply, i am so frustrated not knowing what to do. I put the div then the h 2 immediately after it, then "Shopping List" then closed h 2 then closed the div. I just don't know? I did put brackets around all 4 tags,i did not have any spaces like it said. What else is there? Perhaps i could whistle a lovely tune to make it work?

3 Answers

James Barnett
James Barnett
39,199 Points

Anastascia Barney - You are so close, just remove that quotes from "Shopping List".

Oh my gosh...thank you so much!

Chase Lee
Chase Lee
29,275 Points

Here is a thread on how to display code in the forum.

Gregory Davis
Gregory Davis
13,435 Points

Should be something like:

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

Thank you for your comments during my angst :)

Gregory Davis
Gregory Davis
13,435 Points

Your welcome, glad we could all help.