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

im getting the error "BUMMER a section of my code needs to be between <body></body> tags..

<!DOCTYPE html> <html> <head> <title> CAMS HOUSE</title> <meta charset="utf-8"> </head> <body> <header> </header>

<footer>

</footer>

</body> </html>

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

    <footer>

    </footer>
  </body>
</html>
Dominik Sikiric
Dominik Sikiric
2,059 Points

I believe because of your footer section. Have you tryed tried to put it outside of the body section and before </html>?

2 Answers

William Li
PLUS
William Li
Courses Plus Student 26,868 Points

No it's not about the footer tags here, footer is okay.

Add a header element, section element, and footer element.

Problem here is that you are missing the section tag the challenge is looking for.

  <body>
    <header>
    </header>

    <section></section>
    <footer>

    </footer>
  </body>

adding a section element between header and footer tag should fix the problem.

Dominik Sikiric
Dominik Sikiric
2,059 Points

I believe because of your footer section. Have you tryed tried to put it outside of the body section and before ?

i have not .. but i thought that it belonged inside of the body tags