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 trialRobert Catto-Smith
3,157 PointsBlack Paragraph Elements
Hey, just getting a bit confused with the Black Paragraph Elements question.
body {
background-color: #ffffff;
color: #000000;
}
I have used this code to set the body color, however it keeps telling me it is wrong. I even pasted the project file from the example and changed the color to #000000, but still registers as wrong?
Have I missed something?
Thanks
Robert
2 Answers
Adam Sackfield
Courses Plus Student 19,663 PointsI just took the quiz again and saw nothing asking to set the body text as you have done above, I did see a question asking to set the color of the "P" elements to black. The code for this is below
p {
color: #000;
}
Robert Catto-Smith
3,157 PointsI must have mistaken the body {color:#.....} in the video for controlling paragraph color.
Thanks for your help Adam!
Adam Sackfield
Courses Plus Student 19,663 PointsNo problem