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 trialSara Parker
2,238 PointsI do not understand task 2 of 4, please help me.
Task: Set the color of paragraphs to black using the p selector and a hexadecimal value
Bummer! Double check that you've styled paragraph (p) elements to be black with a hexidecimal value.
a { text-decoration: none; }
wrapper {
max-width: 940px; margin: 0 auto; }
logo {
text-align: center; margin: 0; }
/* logo text */ h1, h2 { color: #fff; }
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
/* logo text */
h1, h2 {
color: #fff;
}
1 Answer
Fletcher Henneman
3,130 PointsIβm on my phone so I canβt check the objective right now but it looks like you are setting the color of the elements inside the Paragraph, not the Paragraph itself:
p{ color #fff; }
If that doesnβt work I apologize and when I get home I will see what I can do.
Mihkel Pajunen
8,017 PointsMihkel Pajunen
8,017 PointsYou are currently not doing anything with your paragraph tags. If you want to set the color of all paragraphs to black, you should implement the following property to your CSS file: