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
Ana Barney
1,595 PointsHTML 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>

Ana Barney
1,595 PointsIt 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
39,199 PointsAnastascia Barney - You are so close, just remove that quotes from "Shopping List"
.

Ana Barney
1,595 PointsOh my gosh...thank you so much!

Chase Lee
29,275 PointsHere is a thread on how to display code in the forum.

Gregory Davis
13,435 PointsShould be something like:
<div>
<h2>shopping list</h2>
</div>

Ana Barney
1,595 PointsThank you for your comments during my angst :)

Gregory Davis
13,435 PointsYour welcome, glad we could all help.
Gregory Davis
13,435 PointsGregory Davis
13,435 PointsI 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.