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 trial

CSS How to Make a Website Customizing Colors and Fonts Write Hexadecimal Colors

Setting colour of paragraphs to black

Hi, 'm not sure what I'm doing wrong. In the challenge, it says to set the colour of paragraph elements to black. I think either I missed something or just don't completely get it. Help please. I put a { colour:#000;} to do I think the paragraph elements is referring to the text in the body? TIA

css/main.css
a {
  text-decoration: none;
}

#wrapper {
  max-width: 940px;
  margin: 0 auto;
}

#logo {
  text-align: center;
  margin: 0;
}

h1,h2 {
color:#fff;
}

a {
color: #000;
}

2 Answers

Kevin Hamil
Kevin Hamil
8,203 Points

"a" tags are for links. "p" tags are for paragraphs. So you just need to make it a "p".

p {
   color: #000;
}

Thank you!

Mike Hickman
Mike Hickman
19,817 Points

Exactly what Kevin said. You just accidentally have attributes for 2 "a" elements instead of one for "p". You are really close.

Best of luck.

-Mike

Thank you!