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

CSS How to Make a Website Adding Pages to a Website Add a New Page

Joshua Harris
seal-mask
.a{fill-rule:evenodd;}techdegree
Joshua Harris
Full Stack JavaScript Techdegree Student 3,674 Points

The href link doesn't show up for portfolio on the front end

I followed the steps in the video exactly and when I go to preview my webpage everything works except the portfolio tab doesn't show up as an href. On the front end it just shows up grey and you cannot click it. here is my code please help!

</a> <nav> <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> </nav>

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Hey Joshua, If you're on the "Portfolio" page, there will be no active link as that is the "selected" page. Depending on how the CSS is styling the .selected element, the grey is probably what is supposed to be there.

The code is all correct.

I hope this makes sense. Jason