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 first and second level headlines to white using a hexadecimal value

Can anyone help me do this?

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

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

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

3 Answers

first you'll want to access your first and second headers by

h1, h2 {}

then use # and add your hex value to get your hexadecimal color

ref: http://www.w3schools.com/cssref/css_colorsfull.asp

Kristopher Van Sant
PLUS
Kristopher Van Sant
Courses Plus Student 18,830 Points

You should review the video Use Color in CSS, the answer can be found there. Hint at 5:30.

You only need 3 because it's #FFFFFF

h1, h2 {
color: #FFF
}

Moved comment to answer section