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 trialAmanda Holmes
1,085 PointsHow to Make a Website: Challenge Task 2 of 4 Set the color of paragraphs to black using hexadecimal value.
Setting the color of paragraphs was never covered during any of the videos leading up to the Challenge; I keep getting the "Bummer! Double check that you've styled paragraph (p) elements to be black with a hexidecimal value. The Challenge doesn't have a "index.html" tab; only the css/main.css....none of which mention anything related to the values of what the style element would be placed for this example.....please help I've tried everything I can think of to get past this part of the challenge with no luck :(
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1, h2 {
color: #fff;
}
2 Answers
Jennifer Nordell
Treehouse TeacherOk in that style sheet there you've selected the a, h1, and h2 elements and styled them all successfully. All it's asking is that you select the p element and style it as well. So the code should look like this:
p {
color: #000;
}
Give that a whirl!
Amanda Holmes
1,085 Pointsp { color: #000; }
Amanda Holmes
1,085 PointsAmanda Holmes
1,085 PointsThank you, hopefully it's something that simple and I'm just overthinking my code!