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!
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
My background will not change to orange - I've checked my code several times now, still no joy!
My background won't change to orange, as it does in the video - I've checked my code repeatedly, and even deleted and recreated my main.css file, but the background still won't change colour to orange.
Please could I have some help? I'm not sure what I've missed here, but everything seems to be in order codewise - I've followed the video exactly so far.
Many thanks in advance
You'd better check if there is # before the number, if you use one. Or maybe the fault isn't in that line, but the one above it. Like a ; or a } missing.
Happens to me a lot. Often as a result of copy/cut and paste. I've learned to recognise the symptoms, so I know where to look for the problem.
Gari Merrifield9,597 Points
Following along with the video, points Nick makes 1) include the link for the style sheet in your HTML page HEAD section, be sure that you have the file named correctly, and that the path matches. If you created the file, but didn't get it moved into the css folder, it won't be found if you told it to look in there ( as Nick did in the video )
2) be sure that you have correctly selected the body, it is just "body" not ".body" or "#body"
3) you may need to force a refresh in your browser This page seems to describe most of the ways you may need to use to force it : https://www.getfilecloud.com/blog/2015/03/tech-tip-how-to-do-hard-refresh-in-browsers
Hey everyone - thank you for all your help!
Newbie mistake - I named my css folder 'CSS' no 'css' lol