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 website doesn't look correct when I preview it.

Here is the code:

      <!DOCTYPE html>
      <html>
      <head>
          <meta charset="utf-8">
          <title>Mainland NHS</title>
        </head>
        <body>
          <header>
            <h1>Mainland Regional High School</h1>
            <h2>National Honors Society</h2>
          </header>
          <section>
             <p>Picture will go here</p>
           </section>  
           <footer>
             <p>&copy; 2015 Derek Kneisel.</p>
           </footer>
         </body>
      </html>
Kristopher Van Sant
Kristopher Van Sant
Courses Plus Student 18,830 Points

What is it about the website that doesn't look correct? Based off the video, and what Nick wrote there, your code looks right.

Kristopher Van Sant - "Derek Kneisel" appears at the top left of the webpage. That is it.

Kristopher Van Sant
Kristopher Van Sant
Courses Plus Student 18,830 Points

This might sound like a silly question but did you save your work and refresh the browser? If that doesn't work can you take a snapshot of you workspace and post the link here please? To take a snapshot, click the camera icon in the upper right corner of your workspace.

What do I do after I take the screenshot? I'm confused on how to post a link to it.

Kristopher Van Sant
Kristopher Van Sant
Courses Plus Student 18,830 Points

Once you take the snapshot click on it and it will open up in a window and then copy the link/url and paste it here.

4 Answers

Stanley Thijssen
Stanley Thijssen
22,831 Points

Your start html tag is missing

I have it

I had the same issue too. I re-checked my code and tried previewing it and only my name in blue on the top left corner showed up. I even tried closing the tab, re-saving my code, and previewing again and had the same problem.

On my workspace tab, I clicked refresh and it worked. I now see my name in blacker larger letters, my title below that, "gallery will go here," and then the copyright footer.

Luo Baishun
PLUS
Luo Baishun
Courses Plus Student 5,179 Points

Your codes look correct, how did you conclude it doesn't look correct?

Kristopher Van Sant
PLUS
Kristopher Van Sant
Courses Plus Student 18,830 Points

Thanks Derek for posting the snapshot! I forked your workspace and previewed it and everything showed up fine for me. I'm not sure why you're only seeing your name and nothing else. I would try saving your work and closing workspaces and your browser, then reopen everything and try to preview it again. If this still doesn't help maybe try starting fresh with a new workspace. If that still doesn't help you may need to contact support. That being said, you're code is correct so keep up the awesome work! Sorry I couldn't be more helpful!

Okay thanks for the help! I try it out

Okay thanks for the help! I try it out