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 trialMiriam Allman
Courses Plus Student 1,761 Pointswhy is this wrong - my error message was make sure you're setting background colour to light steel blue
main-content {
background-color: lightsteelblue;
}
What am I doing wrong
2 Answers
Emre Karakuz
9,162 Pointsseems like you forgot "." in the beginning of the main-content
your code is :
main-content {
background-color: lightsteelblue;
}
the true one is:
.main-content {
background-color: lightsteelblue;
}
let me know if it worked or not
Jonathan Grieve
Treehouse Moderator 91,252 PointsTry setting the same value with the background
property. :-)
Miriam Allman
Courses Plus Student 1,761 PointsMiriam Allman
Courses Plus Student 1,761 Pointsi tried that
.main-content { background-color: lightsteelblue;
and i got this error message Make sure you're using an ID selector that targets 'main-content'.
Emre Karakuz
9,162 PointsEmre Karakuz
9,162 PointsI thought main-content was a class selector. try :