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

Not found the requested URL/about=was no found on this serve.

tsk

7 Answers

Thank you for reading mue code,

You were perfect, I found the error. Now so I'm not connecting the two pages

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Nick Pettit | Designer</title> <link rel="stylesheet" href="css/normalise.css"> <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic|Ubuntu:400,700,700italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Nikc Pettit</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html" class="selected">About</a></li>
<li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <img src="nick.jpg" alt="Photograph of Nick Pettit" class="profile-photo"> <h3>About</h3> <p>1</p> <p>2</p> </section> <footer> <a href="http:// src=facebook.com/nickrpettit"><img src="img/facebook-wrap.png" alt="facebook Logo" class="social-icon"></a> <p>© 2014 Nick Pettit</p> </footer> </div> </body> </html>

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Hi Ary,

Would you be able to provide a little more of your code for me to have a look at?

From what you have provided so far I am unsure as to what you are asking.

^John

Hi Thanks for reading my code. I could not connect the about page with portfolio.

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Nick Pettit | Designer</title> <link rel="stylesheet" href="css/normalise.css"> <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic|Ubuntu:400,700,700italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Nikc Pettit</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html" class="selected">About</a></li>
<li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <img src="nick.jpg" alt=""> alt="Photograph of Nick Pettit" class="profile-photo"> <h3>About</h3> <p>Hi one </p> <p>Hi to </p> </section> <footer> <a href="http://" src="facebook.com/nickrpettit"><img src="img/facebook-wrap.png" alt="facebook Logo" class="social-icon"></a> <p>© 2015 Ary de Oliveira.</p> </footer>

</div> </body>

</html>

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Hi Ary,

The first thing I notice just from looking at the formatting for the html you have pasted. It seems that you have prematurely closed the image tag for your nick.jpg image:

<img src="nick.jpg" alt=""> alt="Photograph of Nick Pettit" class="profile-photo">

Should be something like:

<img src="nick.jpg" alt="Photograph of Nick Pettit" class="profile-photo">

Try fixing this first and then I will look into your url issue.

^John

great tsk....

( index.html )

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Nick Pettit | Designer</title> <link rel="stylesheet" href="css/normalise.css"> <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic|Ubuntu:400,700,700italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Nikc Pettit</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="numbers-01.jpg"> <img src="numbers-01.jpg" alt=""> <p>Experimentation with color and texture.</p> </a> </li>

       <li>
        <a href="numbers-02.jpg">
        <img src="numbers-02.jpg" alt="">
        <p>Experimentation with color and texture.</p>
        </a>
      </li>

       <li>
        <a href="numbers-06.jpg">
        <img src="numbers-06.jpg" alt="">
        <p>Experimentation with color and texture.</p>
        </a>
      </li>

       <li>
        <a href="numbers-09.jpg">
        <img src="numbers-09.jpg" alt="">
        <p>Experimentation with color and texture.</p>
        </a>
      </li>

       <li>
        <a href="numbers-12.jpg">
        <img src="numbers-12.jpg" alt="">
        <p>Experimentation with color and texture.</p>
        </a>
      </li>

    </ul>
  </section>
  <footer>
    <a href="http://" src="facebook.com/nickrpettit"><img src="img/facebook-wrap.png" alt="facebook Logo" class="social-icon"></a>
    <p>&copy; 2014 Nick Pettit </p>
  </footer>

</div> </body>

</html>

Thank you