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

Coding Challenge

I can't seem to progress past the header tag section despite clearly having a header in place?

Here is the code I used:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
  <title> Anton Burrows | Designer</title>
    </head>
  <body>
    <header>
      <h1>Anton Burrows</h1>
      <h2>Designer</h2>
    </header>
    <section>
    <p>Gallery will go here</p>
    </section>
    <footer>
      <p>&copy; 2014 Anton Burrows.</p>
    </footer>
    </body>
</html>

2 Answers

You need to write the correct HTML tags. This is the code you need:

<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <meta charset="UTF-8";>
  </head>
  <body>
    <header>
    </header>
    <section>
    </section>
    <footer>
    </footer>
  </body>
</html>

So when it says add a header, section, and footer, it means use the HTML tags.

Hi Jordan, thanks for your reply. I did actually have the HTML tags in place (although I think when I pasted my code it got cut off!) Like an earlier user I restarted the challenge and pasted the exact same code I had written before and it was fine? I think this might be a technical issue? Thanks for your help and your prompt reply Jordan, much appreciated.

H