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 trialHarrinson Ariza
8,189 PointsHTML Forms, Help me!
Add a second level heading inside that div containing the text "Shopping List". No spaces around the text, please.
Where I can put that second level heading?
Thanks!
<!DOCTYPE html>
<html>
<head>
<title>HTML Mastery Challenge</title>
</head>
<body>
<h1>HTML Mastery Challenge</h1>
<!-- Write your code below -->
<div></div>
</body>
</html>
3 Answers
Rich Bagley
25,869 PointsHi,
You're looking for something like this:
<!DOCTYPE html>
<html>
<head>
<title>HTML Mastery Challenge</title>
</head>
<body>
<h1>HTML Mastery Challenge</h1>
<!-- Write your code below -->
<div>
<h2>Shopping List</h2>
</div>
</body>
</html>
Hope that helps :)
-Rich
Brenda Krafft
18,036 PointsUnless I'm missing something, you only have one <div>.
Did you skip a step where you type in "shopping list" as the class for that div or something? My guess is that the h2 goes inside the only div you've got.
Harrinson Ariza
8,189 PointsThanks for help me! I feel confused about this because I am spanish speaker jeje and I'm trying to learn web design here. It's difficult for me sometimes understanding everything! jeje Yes, I know! My question was easy! in fact, the best answer I tried to do, but the software pointed out an error. And I had to ask help! Thanks!
Rich Bagley
25,869 PointsNo problem :)