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
Miriam Allman
Courses Plus Student 1,761 Pointsi can't get my background to show as orange
<body style="background-colour: orange;">
When I refresh my background is still white - what am I doing wrong?
4 Answers
Edwin Buitrago
2,726 Pointsjust a typo mistake we find ourselves into all the time. reserved words have to be used exactly as they were reserved so in this case background-colour is different to the reserved word which is background-color so that's the reason why it doesn't work.
Hugo Buenrostro
10,620 Pointschange "background-colour" to "background" or "background-color"
Jaspal Singh
13,525 PointsHi Miriam
You spelled the background-color property as background-colour so correct it than it will work
Miriam Allman
Courses Plus Student 1,761 PointsThank you everyone - what can I say - I'm Canadian, eh?
Miriam
Ian Hempsell
Courses Plus Student 37,036 PointsIan Hempsell
Courses Plus Student 37,036 PointsHe Miriam, try: background-color: orange (American spelling).