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

HTML How to Make a Website HTML First Use HTML Elements

Defenitely 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.....

index.html
<!DOCTYPE html>
<html>
  <head>
  <meta charset="utf-8">
    <title></title>
  </head>

  <body>
    <h1></h1>
  <section></section>
  </body>

  <footer></footer>


</html>

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Shane 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 :smiley:

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 :sparkles:

Cheers!

Shane Oliver
Shane Oliver
19,977 Points

You 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>