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

unable to link files

I follow along as per video I create a new file 'about.html' save then refresh browser and click on the link 'about' but then I get this error:

Not Found

The requested URL /about.html/ was not found on this server.

2 Answers

Marielle Quizon
Marielle Quizon
2,830 Points

Try putting your "about.html" in your <a></a> tags.

For example:

<a href = "about.html">About</a>

Godfrey M
PLUS
Godfrey M
Courses Plus Student 2,696 Points

hi mr. james i suggest you to check properly your file-paths because this is important when linking files in different locations . a deep understanding of file-paths( relative and absolute) will help you attach files at any point.

another idea is sharing your code practice on community we can go through the code and correct you fast so your fellow students will know where you went wrong.

to share you code press the three --- before the code and again ---after your code happy coding bro