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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Sophie Garrett](https://secure.gravatar.com/avatar/b5fa4f24cc7049a1dcb5487e3e19d07f?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Sophie Garrett
1,936 PointsHow do I pass Task 2 of this challenge?
The challenge is under CSS Foundations - Selectors - Type, Class, and ID Selectors. It keeps failing me, and I don't understand why. It says to select the h1 on the page and change its background color to dark blue, so I type in:
h1 { background-color: darkblue; }
It doesn't seem to work. Is this a bug, or am I being stupid? Please help! :'(
2 Answers
![Jason Anello](https://secure.gravatar.com/avatar/d1304e75238ff7f216f55adc03e08ea1?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Jason Anello
Courses Plus Student 94,610 PointsHi Sophie,
The challenge says to change the color to darkblue, not the background color.
h1 { color: darkblue; }
![Dai Phong](https://uploads.teamtreehouse.com/production/profile-photos/1327002/micro_QBfT9YXa.jpg)
Dai Phong
20,395 PointsTry to change background-color to background:
h1 {
background: darkblue;
}
Sophie Garrett
1,936 PointsSophie Garrett
1,936 PointsOhhh. Thanks! I feel like a total dummy now, LOL.