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 Create the Content Containers

My HTML code did not work properly when viewing on the web page.

I typed in the code in both exercises twice making sure I followed all the instructions and indentations. My final web page does not look like the one that Nick shows at the end of the tutorial.

This is my code:

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

6 Answers

Your code seems fine for now in relevance to the tutorial . Just keep following along.

Which section of the tutorial did you watch ?

I watched the Beginning HTML and CSS. I worked on the first two sections, Introduction to HTML and the Portfolio Project and Write an HTML element. Have you worked on these sections?

Really? Thank you so much for your feedback and help. I just got confused because when I tried to view the final product in a web page, it did not show the body or title name, it only showed heading 1. I will continue with the tutorial and hopefully my coding gets better. :) Thank yo so much again.

np. just continue following along soon your webpage will get to where you want it to.

Perfect. Thanks again.