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 trialcian lynam
2,435 PointsMy background color wont change! help
For some reason my background wont change and none of css is working how do i fix it?
cian lynam
2,435 PointsI wrote body{ background-color: orange;} and i trying to change it and it wont
Tyson Rosage
1,896 PointsWhat are you trying to change it to that is not working?
cian lynam
2,435 PointsIm trying to change it to blue and i also tried, a {text-decoration:none;} and that wont work either
Tyson Rosage
1,896 PointsAre you trying to change the background color of the body to blue or the background color of anchor tags? Sorry for the back and forth. I'm just trying to better understand the code you're writing that is not working and what specifically you're trying to accomplish.
cian lynam
2,435 PointsIts ok. Im trying to change the color of the body.
Tyson Rosage
1,896 PointsGive this a try.
body {
background-color: blue;
}
1 Answer
Steve Suresh
13,185 PointsHave you included a reference to your css file in the head section of your html document?
Tyson Rosage
1,896 PointsTyson Rosage
1,896 PointsCould you provide a sample of the code you've written that is not working?