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 trialVictor Gordian
4,656 PointsDoesn't let me pass
Finally, create a new type selector that targets the div element. Add a background-color property and set the value to lightblue.
so i put
<style> div { background-color: lightblue; } </style>
doesn't let me pass
2 Answers
Sue Dough
35,800 PointsTry this
div { background: lightblue; }
Joe Rizza
8,513 PointsYes, I too found background and background-color were not always interchangeable during challenges.
Victor Gordian
4,656 PointsVictor Gordian
4,656 Pointsi kept doing that type of selector and it said to use a new one, therefore i did but didn't work
Sue Dough
35,800 PointsSue Dough
35,800 PointsIt works man. Just copy and paste it. You had background-color and all you need is background.