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 trialMitchell Kienhuis
2,507 PointsI don't see what i'm doing wrong here?
Can someone help me get back on the right track?
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1, h2 {
color: #fff;
}
p {
color: #000000;
}
nav a:{
color: #fff
}
nav a.selected, nav a:hover{
color: #32673f;
}
Chris Davis
16,280 PointsIt looks like your syntax the nav a
selector is incorrect. You should be selecting...
nav a {
}
and then for the hover class...
nav a:hover {
}
hope this helps
Laurynas Dvarzeckas
Courses Plus Student 212 Pointsone mistake at nav a:{ color: #fff } need add the ; thing :). and looks like nav a:{ color: #fff; }
2 Answers
jacobproffer
24,604 PointsHey Mitchell,
Remove the colon next to your nav a selector. That is not a correct selection unless you are going to follow that up with a pseudo class such as hover. You also need to remove nav a.selected for the challenge to pass.
Working solution:
nav a {
color: #FFFFFF;
}
nav a:hover {
color: #32673F;
}
Chris Davis
16,280 PointsGotta stop adding my answers as comments! Lols!
It looks like your syntax the nav a
selector is incorrect. You should be selecting...
nav a {
}
and then for the hover class...
nav a:hover {
}
hope this helps
Mitchell Kienhuis
2,507 PointsMitchell Kienhuis
2,507 PointsThe .selected part I put there, just to try and work out a solution..