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 trialRino Tumbarello
512 PointsHi, please solve this problem: Set the color of paragraphs to black using a hexadecimal value.
What's the "paragraphs"? i don't know! Problem: Set the color of paragraphs to black using a hexadecimal value.
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
a { text-decoration: none; }
#wrapper { max-width: 940px; margin: 0 auto; }
#logo { text-align: center; margin: 0; }
h1, h2 { color: #000000; }
p { color: #000 }
nav a { color: #000000 }
nav a:hover { color: #000000; }
1 Answer
Owa Aquino
19,277 PointsYou're missing a semi-colon on your paragraph rule. CSS attributes should always have a semi-colon in the end.
p { color: #000; }
Remember always to have a semi-colon.
Cheers!
Sam Baines
4,315 PointsSam Baines
4,315 PointsParagraph color is set by changing the color value to the hexidecimal for black - to select the paragraphs you need to change the css using the paragraph selector - 'p'.
In your code I can see you are missing a semi-colon on the end of your property value which may be causing the error.