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 trialIulia Kraiter
858 PointsI can't figure out what I did wrong to not set the color of the paragraphs black.
Hello,
In the code challenge it asks me to set the color of the paragraphs to black, and I wrote body: { color: #000; }
but the checker says I got it wrong.
Was I supposed to do something else?
Thank you,
Iulia
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1, h2 {
color: #fff;
}
body: {
color: #000;
}
3 Answers
jacobproffer
24,604 PointsHey Lulia,
You're technically correct. However, this challenge is specifically asking you to target all paragraph tags.
Like so:
p {
color: #000;
}
Shawn Denham
Python Development Techdegree Student 17,801 Pointsit specifically asked for your paragraphs. Setting your body color targets everything!
narrow it down to just your paragraphs ;)
Iulia Kraiter
858 PointsOh! I didn't know you could do that, I mean I knew you could do that for the header, body and footer, but I was a bit confused about what to do about things that went into them (and a little scared to try too), but thank you both for your answers.
PS- Jacaob, from the Default font on Treehouse it looks like my name actually starts with an L but the letter is actually a capital i.
Shawn Denham
Python Development Techdegree Student 17,801 PointsShawn Denham
Python Development Techdegree Student 17,801 PointsPoint stealer :P