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!

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


When i click on the Portfolio link after setting up my About page, the Portfolio page shows this message : "Not Found"

Here's my code, i copied it straight from the index.html and followed along exactly so i'm not sure what i did wrong

<!DOCTYPE html>
    <meta charset="utf-8">
    <title>Omolewa Akinyode | Designer</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href='https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/main.css">
      <a href="index.html" id="logo">
        <h1>Omolewa Akinyode</h1>
          <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>
    <div id="wrapper">

3 Answers

Everything looks to be correct. Have you tried closing the preview and reopening the preview to see if that works?

Only change I would make is add a space before class="selected" on your about nav link

Yes i tried closing and reopening but nothing changes. I can go from the about page to the contact page but the portfolio page still says "not found"

Hello, Omolewa Akinyode, I think if you write in this way, you can understand what should you have to code. like as: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Omolewa Akinyode | Designer</title> <link rel="stylesheet" href="css/style.css" media="screen"> <link href='https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800' rel='stylesheet' type='text/css'> </head> <body> <header>

                 <ul >                                       
                      <li class="active"><a href="index.html">Home</a> </li>  <!--Your main page-->
                      <li><a href="about.html">About</a></li>  <!--create about.html page with  DOCTYPE html to ul-->
                      <li><a href="contact.html">Contact</a></li>


</header> </body> </html>

Omolewa Akinyode, <li><a href="index.html">Portfolio</a></li> Here your portfolio page is index.html page, its a main page. so how you can find the portfolio . I think you have to change it. 1st you create a home page, the code is: <li><a href="home.html">Home</a></li> <li><a href="portfolio.html">Portfolio</a></li> In this way u will get your solution. thanks