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

Joe Williams
Joe Williams
16,945 Points

404 Not found when I switch back to Portfolio

I have just set up the about page of the website. When I view the site in preview it looks fine and when i click over to About it looks fine too. But when I switch back to Portfolio it says 404 Not Found.

I have to close the preview and start a new one to see the Portfolio page again (which is the main page). And it happens again if I switch to About and then try and switch back.

4 Answers

Joe Williams
Joe Williams
16,945 Points

I've just noticed that it was a simple case of Capital-letter-syndrome. It's solved now.

Thanks to everyone who looked into this for me.

Joe

Maciej Sitko
Maciej Sitko
16,164 Points

Without any HTML code posted we won't be able to resolve the issue.

Joe Williams
Joe Williams
16,945 Points

Not sure how to post HTML code here...any advice?

Thanks.

PS. The web address of the site is

http://web-9otseh25g4.treehouse-app.com/Index.html

kirkbyo
kirkbyo
15,791 Points

Hi Joe,

Simply just copy and paste these ``` at the start and the end of your code.

Ozzie

kirkbyo
kirkbyo
15,791 Points

Hi Joe,

The problem is probably somewhere within your nav. You can cross check your code with mine bellow

      <nav>
        <ul>
          <li><a href="index.html" class="selected">Porfolio</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="Contact.html">Contact</a></li>
        </ul>
      </nav>

Hope this helps :),

Ozzie