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 trialDaphne Cornelisse
1,906 PointsHi guys! Does anyone know how to set the color of paragraphs to black using a hexadecimal value?
I thought it was p..
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1,h2 {
color: #fff
}
p {
color: #fff
}
5 Answers
Jennifer Nordell
Treehouse TeacherHi Daphne Cornelisse! First of all, you're doing great. Liam Topham is correct. You're missing a couple of semicolons. But the bigger problem here is that you didn't set your paragraph to black... you set it to white! Remember white is the reflection of all colors simultaneously. Black is the absorption of all colors. So white is #fff and black is #000. Take a look:
h1,h2 {
color: #fff;
}
p {
color: #000;
}
Happy coding!
Daphne Cornelisse
1,906 PointsThanks Jennifer! I got it !
Daphne Cornelisse
1,906 PointsWould you like to have a chat? Add me on facebook; Daphne Cornelisse :)
Jeremy Hill
29,567 Pointscolor: #000;
Daphne Cornelisse
1,906 PointsThanks!
Konrad Pilch
2,435 PointsSemicolons! :) But if it's one line it should work anyways.
Heres the wheel
You got hex and rgb.
It will tell you what hex it is , the current color, as well as rgb, which is usefull if you want to make the color transparent.
Daphne Cornelisse
1,906 PointsThank you Konrad!
Konrad Pilch
2,435 PointsIf anyone is interested to join a slack channel here feel free to do so! We help each other, chat about the code, and other things, and overall, knowing other people in the same field :)
Daphne Cornelisse
1,906 PointsHi, I subscribed to slack, I made an account.. but what to do now?
Konrad Pilch
2,435 PointsHi, What is your nickname on slack? Check your email and you can either log into it from the browser, or with a desktop app.
Daphne Cornelisse
1,906 PointsMy nickname is just daphne .. cant find you
Konrad Pilch
2,435 PointsIv send you a message on slack.
Liam Topham
2,691 PointsLiam Topham
2,691 PointsHi Daphne, It looks like you're missing the semi colon's off the end of your statements.
Liam