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
Kenneth Clark
3,485 PointsIn "How to make a website", I can go from the "index.html" page to the "about.html" page but not back again. Any advice.
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html" class="selected">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
3 Answers
Kenneth Clark
3,485 PointsTo fix this I has to change the "index.html" to "portfolio.html" on all 3 pages. Also i had to change all the other "index.html" reference to "portfolio.html". Then everything work as it should. Thank you for the help.
Erik Nuber
20,629 Points<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html" class="selected">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
This looks correct so it must be something else going on. Just make sure things are spelled correctly and that the .html files are within the same folder on the same "level" as in not in different files else you would need to direct it properly.
Kenneth Clark
3,485 Pointsthanks, this is the response i get when trying to go back to the "Portfolio" link, 'The requested URL /index.html was not found on this server.'. Should I contact Treehouse support?