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

Matthew Lombana
Matthew Lombana
3,261 Points

when i copy and past from index.html to my about.html and I save and click on the about page it does not load the page.

this is my code if you can see whats wrong with it.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Matthew Lombana | Designer</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href="https://fonts.googleapis.com/css?family=Open+Sans|Slabo+27px" rel="stylesheet">
    <link rel="stylesheet" href="css/main.css">
  </head>
  <body>
    <header>
      <a href="index.html" id="logo">
        <h1>Matthew Lombana</h1>
        <h2>designer</h2>
      </a>
      <nav>
        <ul>
          <li><a href="index.html" class="selected">Portfolio</a></li>
          <li><a href="About.html">About</a></li>
          <li><a href="Contact.html">Contact</a></li>
        </ul>
      </nav>
    </header>
    <div id="wrapper">
      <section>
        <ul id="gallery">
          <li>
            <a href="img/numbers-01.jpg">
              <img src="img/numbers-01.jpg" alt="">
              <p>Experimentation with color and texture.</p>
          </li>
          <li>
            <a href="img/numbers-02.jpg">
              <img src="img/numbers-02.jpg" alt="">
              <p>Playing with blending modes in photoshop</p>
          </li>
          <li>
            <a href="img/numbers-06.jpg">
              <img src="img/numbers-06.jpg" alt="">
              <p>trying to create an 80's style of glows</p>
          </li>
          <li>
            <a href="img/numbers-09.jpg">
              <img src="img/numbers-09.jpg" alt="">
              <p>Drips created using Photoshop brushes.</p>
          </li>
          <li>
            <a href="img/numbers-12.jpg">
              <img src="img/numbers-12.jpg" alt="">
              <p>Creating shapes using repetition.</p>
          </li>
        </ul>
      </section>
      <footer>
        <a href="http://twitter.com/m_tizzle"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> 
        <a href="https://www.facebook.com/mplombana"><img src="img/facebook-wrap.png" alt="facebook Logo" class="social-icon"></a>
        <p>&copy; 2016 Matthew Lombana.</p>
      </footer>
    </div>
  </body>  
</html>

1 Answer

Kevin Korte
Kevin Korte
28,148 Points

URL files after the domain are case sensitive, so if your file is named about.html it won't be able to find it as it's looking for a file named About.html based on the url structure here.