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 trialWayne Tucker
Ubora | Web Development Techdegree Student 1,332 PointsHow do i set the paragraph color to black
I am not sure what to put in CSS.
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1, h2 {
color: #fff;
}
2 Answers
stjarnan
Front End Web Development Techdegree Graduate 56,488 PointsHi Wayne!
It takes a while to get a grasp of it, just keep at it! :)
To style your paragraph black, you target the paragraph with a 'p' (like in paragraph) - and then to set it to black you can use "color: black;", or "color: #000"/"color:#000000" - the zeros are the hexadecimal value for black, but the word black works fine too!
like this:
p {
color: #000
}
Hope that helps, and good luck!
Tarun Chakrabarti
Courses Plus Student 9,058 Pointsp { color: #000 }
Austin Zeller
2,760 PointsAustin Zeller
2,760 Pointsp { color: #000; }