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 How to Make a Website HTML First Use HTML Elements

Michele Smiraglia
Michele Smiraglia
6,509 Points

Where is the" Bummer!"?

Maybe i didn't see the error....

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Title</title>
  </head>
  <body>
    <header>
      <p>Header</p>
    </header>
    <footer>
      <p>Footer</p>
    </footer>
  </body>
</html>
Michele Smiraglia
Michele Smiraglia
6,509 Points

...(Bummer! A section element needs to appear between the body and /body tags.)...

4 Answers

You missed a section out:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <header></header>
    <section></section>
    <footer></footer>
  </body>
</html>
Mitchell Springer
Mitchell Springer
2,576 Points

It probably specifically wants a

<section></section>

Hi

You just missed the "section" tag, you needed to add it along side the "header" and "footer" tags.

Hope this helps:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Title</title>
  </head>
  <body>
    <section>
      <p>Section</p>
    </section>
    <header>
      <p>Header</p>
    </header>
    <footer>
      <p>Footer</p>
    </footer>
  </body>
</html>