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 trialKim Swenson
6,379 PointsAbout page not displaying
In the video, the about.html page shows up in the navigation when created, however mine remains of index.html. Can't figure out why. Here is a snap shot of the code: https://w.trhou.se/a2oj8sr8n3
1 Answer
Muhamed Asil
7,453 PointsHi Kim, you need to rearrange the code:
rename/create the the pages to be portfilio.html, about.html, contact.html and index.html then use this links in nav tag links. to be like this in About page, for example:
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html" class="selected">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
</ul>
</nav>
then use class="selected" in each page