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 trialBen Mohammad
5,659 PointsDefenitely gone wrong somewhere , it isn't a glitch isn't in the system.
says add a header element , then BUMMER! And then advises me to put it in between the body.(which I have ) still don't accept , I then put the section in the body aswell , I'm clutching at straws.....
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<h1></h1>
<section></section>
</body>
<footer></footer>
</html>
2 Answers
Jennifer Nordell
Treehouse TeacherShane Oliver is correct. You've put in a <h1>
element instead. The <h1>
, <h2>
etc elements stand for "headline". And don't worry, we all got these confused at some point! HTML has 3 similar sounding tags headline <h1>
, header <header>
, and head <head>
. And they are all very different
Also, you ended your body before the beginning of the footer tag. It might sound a little counter-intuitive at first, but the footer should also be inside the body of the document. But Shane's code should get you to the next step. You're doing great! Hang in there
Shane Oliver
19,977 PointsYou have a <head> element but no <header> element. They are different page elements :)
<!DOCTYPE html>
<html>
<head>
<title>Basic HTML Skeleton</title>
</head>
<body>
<header></header>
<section></section>
<footer></footer>
</body>
</html>
Ben Mohammad
5,659 PointsBen Mohammad
5,659 PointsCheers!