Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
216,148 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