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 trialMauricio Briceno Nino
2,964 PointsSer the color of paragraphs to black using a hexadecimal value
I've trying to set and pass this challenge ....but unfortunately I couldn't get it! someone can give me a hand?
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
a {
Color: #6ab47b;
}
header {
background: #6ab47b;
Border-color: #599a68;
}
h1, h2 {
color: #fff;
}
nav {
background: #599a68;
}
nav a, nav a:visited {
color: #fff;
}
nav a.selected, nav a:hover {
color: #32673f;
}
body {
background-color: #fff;
color: #999;
}
2 Answers
eck
43,038 PointsWhich part of the challenge are you stuck on?
It looks like you have added extra selectors, which might impact your ability to pass the challenge, but one thing you are certainly missing is a paragraph selector with a color of black declared. Should look something like this by the end:
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1,
h2 {
color: #ffffff;
}
p {
color: #000000;
}
nav a {
color: #ffffff;
}
nav a:hover {
color: #32673f;
}
Mauricio Briceno Nino
2,964 PointsDone!....I got it! Thanks!