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
Error when trying to link one web page to another:( help!
here are the code I enter in Home.html:
<nav> <a href="about.html">about</a> </nav>
I did experienment with about/about.html but still getting that error. what im I doing wrong?
Logan R22,989 Points
If your website structure is:
index.html about: about.html
You need to make your href go into the folder. Right now it is looking for about.html inside of your main folder, not your about folder. To fix this, do the following on your index page:
<nav> <a href="about/about.html">about</a> </nav>
Please refer to the markdown cheat sheet and edit your post so that the code is formatted properly and then I will do all I can to help you out.