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 trialBrandon Beaven
4,818 PointsAfter I copy the html from the index.html file it says about.html is Not Found
So after I copy the the html from index.html and paste the entire thing. I try to preview, which works fine until I click on the about tab in the browser. It displays,
Not Found
The requested URL /About.html was not found on this server.
2 Answers
Erik Nilsen
20,433 PointsOn lines 17 - 21 of index.html:
<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>
Since the page is called about.html not About.html the file server doesn't find it. Just change it to about and contact in the respective href
s. :)
Erik Nilsen
20,433 PointsDo you mind showing what your code looks like?
If you don't have an about.html page, you will receive not found.
Brandon Beaven
4,818 PointsBrandon Beaven
4,818 Pointsthank you so much, i saw that it was capitalized on the url, so i tried to change the file to have a capital as well, that didnt work, but changing the code did. Thank you, thank you...