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

what the hell?

who?

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

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

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

a {
  color: #6ab47b;
}

header {
  background: #6ab47b;
  border-color: #599a68;
}

p{
color:#000000;
}

why it's wrong??

why?? why???

why

2 Answers

Michal Weizman
Michal Weizman
14,050 Points

Hi vinay, Maybe the editor wants you to use the shorthand version of #000000 [=> #000]? Edit: Whoops, didn't know there was a headlines request in the questions... My bad

Thank you for giving kind information problem solved

Hi Vinay,

You need to style the h1 and h2 elements to be white, #fff. The question says, Set the color of first and second level headlines to white using a hexadecimal value.

So, select both the h1 and h2 elements then set their color property to be white, which is #FFFFFF or #FFF..

h1, h2{
  color: #FFF;
}

I hope that helps,

Steve.

Did you delete the first task code with your p selector? You'll get an error saying "Did you style the h1 element to be white", if you have. Leave that in and add the code for the p selector:

pic

Thanks bro