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 trialMaria Katayama
Courses Plus Student 462 PointsWhen I hover over the categories (Portfolio, About, Contact), it does not change colors the way it does for Nick.
What am I doing wrong? http://web-hlqg7dvvuc.treehouse-app.com/index.html
5 Answers
Michael Hulet
47,913 PointsYou haven't specified a :hover pseudoclass for that to work. Add this somewhere to your CSS:
nav a:hover {
color: #32673f;
}
Colby Work
3,653 Pointsyou'll want to use the hover state for your links:
nav a:hover { color: color-value; }
Colby Work
3,653 PointsMichael beat me to it :P
Eliot Murton
7,315 PointsI seem to be only a few videos further along than Maria and am having trouble. I wonder if you guys can help as well.
I am following the tutorial for how to add a new page to a website. The "About" page that Maria was referring to. As instructed in the video, I start by creating a new file called “about.html”. Copied the code from index.html (home page) over to the new page. In the nav of the (index.html), I changed the selected class to the About list item, etc.
I then white the paragraph exactly as instructed. When I review the work in the Workspace, the paragraphs I now write in the "About" page are all white so can only be seen if I highlight the area. Why is this? I can not figure this out. I am sure I have done everything as instructed in the video but still get no success.
Colby Work
3,653 PointsEliot, could you provide us a link to see?
Maria Katayama
Courses Plus Student 462 PointsMaria Katayama
Courses Plus Student 462 PointsI'm still confused as to where I put this? I've been searching in my CSS file for "nav a" and found three hits. The first one is "nav a {" with "font-weight" and "padding" underneath. The next one is "nav a, nav a: visited {" and the last one is "nav a. selected {". Am I supposed to just add the word "hover" after "nav a"?