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 trialAnthony Hendrix
Courses Plus Student 2,161 PointsChallenge task 2 of 4 (stage 5 customizing colors and fonts)
Having trouble with this challenge. It seems my issue is in proper placement of the style. the error i get is "Double check that you've styled paragraph (p) elements to be black with a hexidecimal value" could someone please help with this. loving this so far glad that i've hit a road block. i've watched the video again to make sure i didnt miss the topic and to my knowledge it is not. please help.
sample of code so far: a { text-decoration: none; }
wrapper {
max-width: 940px; margin: 0 auto; }
logo {
text-align: center; margin: 0; }
h1, h2 { color: #fff;}
<head> <style> p { color: #000 } </style> </head>
2 Answers
mike rocka
Courses Plus Student 859 PointsTry using this as a reference
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1,h2{
color: #FFFFFF;
}
p{
color: #000000;
}
Anthony Hendrix
Courses Plus Student 2,161 PointsThank you mike rocka ! challenge completed. please confirm that im seeing this right. the reason i didnt need to nest or or give it a specific anchor (excuse me if that is the wrong word) in css is because it is pulling the nested location from the html code. they are working in tandem. Is this correct?