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 trialClayton Keesee
Courses Plus Student 340 PointsSet the color of first and second level headlines to white using a hexadecimal value
Can anyone help me do this?
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
3 Answers
Leyton Parker
6,556 Pointsfirst 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
Kristopher Van Sant
Courses Plus Student 18,830 PointsYou should review the video Use Color in CSS, the answer can be found there. Hint at 5:30.
John Renzema
9,070 PointsYou only need 3 because it's #FFFFFF
h1, h2 {
color: #FFF
}
Kristian Terziev
28,449 PointsMoved comment to answer section