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 Build the Contact Page

May Stanley
May Stanley
4,182 Points

Building the Contact page is not working on the web page preview.

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

When I click to preview it shows "NOT FOUND on the server"

Dennis Kouanchao
Dennis Kouanchao
480 Points

I just ran into the same exact issue. I did exactly what nick said in the video and copied and pasted the code from about.html. I am not exactly sure yet what the issue is but when i copied and pasted the code from the index.html file and modified that it all seemed to work fine..

2 Answers

Dennis Kouanchao
Dennis Kouanchao
480 Points

Take a look and double check all of your html files. in your <nav> for each html file, make sure href for contact.html in the <nav> section is typed correctly and not missing anything. I noticed that it is case sensitive and I had a typo on mine. I had an uppercase "C" when it was suppose to be lowercase. Not sure if this is the same exact issue you have but I hope it helps.

May Stanley
May Stanley
4,182 Points

Many thanks! I just found out that I had an uppercase "C" on the file name "Contact.html" so I renamed it to "contact.html" now it works.