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

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

Set the color of paragraphs to black using a hexadecimal value.

Set the color of paragraphs to black using a hexadecimal value.

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

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

#logo {
  text-align: center;
  margin: 0;
}
a{
  color:#6ab47b;
}
header{
  background:#6ab47b;
  border-color:#599a68;
}
h1,h2{
  color:#000;
}
nav{
  background:#599a68;
}
nav a,nav a:visited{
  color:#000;
}
nav a.selected,nav a:hover{
  color:#32673f;
}
body{
  background-color:#fff;
  color:#999;
}

2 Answers

Steven Parker
Steven Parker
229,785 Points

Are you copying code from a workspace project?

It looks like you're on task 2, but you have a lot of code added that's not part of this task (some perhaps not for this challenge at all). You'll get a lot more value from the challenge if you complete the steps yourself, one at a time.

You've already set the hex color for black elsewhere, but you have not yet written a rule for paragraph elements. Paragraphs have the tag designation "p".

Hey!

p{ color:#000000; }

Good luck