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

Alicia Wrigley
Alicia Wrigley
1,172 Points

I can't figure out what's wrong with my code! Please help!

I'm feel like I'm sure that this code is right, but I keep getting stuck. Can somebody please tell me what's wrong so I can move on? The "helpful" hint in the after the "bummer!" really isn't helping because I HAVE done everything it asked me to do, I've just done it wrong, apparently.

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

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

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

h1, h2{
  color: #fff;
}

p{
  color: #111;
}

3 Answers

Sara Mote
Sara Mote
8,053 Points

Hi Alice,

What is the task you're trying to complete?

Let me know, and I'll try to take a look and see what I can recommend.

I believe that task is asking you to set the p elements on the page to the color black. The hex value for black is #000 not #111

Mohsin Ayub
Mohsin Ayub
6,822 Points

The challenge is to color all the p elements on the page black. The correct hexadecimal value for black is:

p{
color: #000;
}