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 Adding Pages to a Website Add a New Page

Getting 404 on when clicking on about.html link

Hello, whenever I am clicking the about.html link on my page preview, I am getting a 404. I made sure that the letters all match up in the directory and are lower case. All of my code seems to be correct, comparing it to other's. I think this might be a bug with Workspace. Thoughts anyone?

Could I see your code? (Use a Workspace Preview)

<html>
  <head>
    <meta charset="utf-8">
    <title>Austin Anderson | Web Developer</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href='http://fonts.googleapis.com/css?family=Lobster|Open+Sans:400italic,700italic,800,400,700' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="css/responsive.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
  </head>
  <body>
    <header>
      <a href="index.html" id="logo">
        <h1>Austin Anderson</h1>
        <h2>Developer</h2>
      </a>
      <nav>
        <ul>
          <li><a href="index.html">Portfolio</a></li>
          <li><a href="about.hmtl" class="selected">About</a></li>
          <li><a href="contact.html">Contact</a></li>
        </ul>
      </nav>
    </header>
    <div id="wrapper">
    <section>
      <img src="img/nick.jpg" class="profile-photo">
        <h3>About</h3>
          <p>Hi im Austin Anderson. Ive been developing websites for well over 9000 years now. My experience makes me a valueable asset on a IT team. Ive fought a bear with one hand and coded with the other at the SAME DAMN TIME. Find me another web deisgner who can do that. The correct respone is that you can't. Im the best and the best that there ever will be. Move over Steve Jobs, there is a new main man in town</p>
      <p>Click <a href="http://itsover9000.com">Here</a> for my lastest work.</p>
    </section>
    <footer>
        <a href="http://twitter.com/nickrp"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a>
        <a href="http://facebook.com/nickpettit"><img src="img/facebook.png" alt="Facebook Logo" class="social-icon"></a>
      <p>&copy; 2015 Austin Anderson.</p>

        </footer> 
      </div>
  </body>
</html>

That's the about.html code.

Hi there, one quick tip for when you add code to the forum is below. You had the right idea but used the wrong key when entering the backtick character. After it you should also enter the language you want to be displayed.

How to Post Code to the Treehouse Forum

If you are using workspace a new and easy way to show us your code is called snapshot. Follow this link to see how it works.

3 Answers

No, you wrote about.hmtl. I make silly mistakes like that all the time.

John

I'm not sure if this is the problem, but be sure to include html, head, and body tags.

They're there. For some reason they didn't copy. I'm almost positive this is a bug with Workspace.

William Prebble
PLUS
William Prebble
Courses Plus Student 1,052 Points

Being new, I'm not sure that I'm close, but do you have the ! DOCTYPE html line in the about.html page code?