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 trialKamal Musa
Front End Web Development Techdegree Student 1,286 Pointscss color changing
after i changed the color on ccs and refreshed the page the color didn't changing
2 Answers
Jennifer Nordell
Treehouse TeacherHi there, Kamal Musa! There could be a couple of things happening here, if you are positive the CSS is correct. You might have forgotten to save your file. Make sure that you saved it. If it's still not changing the color, the most likely culprit is your browser's cache. It's loading in the unaltered version of the CSS instead of your new rules. Try holding down CTRL (if on Windows) or SHIFT(if on Mac) and clicking the refresh button. This will cause a "hard refresh", which will ignore the cached CSS and pull it in again fresh.
Hope this helps!
Kamal Musa
Front End Web Development Techdegree Student 1,286 Pointsi appreciate it, after i save it worked perfectly
Cameron Childres
11,820 PointsCameron Childres
11,820 PointsHi Kamal,
Could you share your code or workspace? That would make it much easier to help.
You can either copy/paste your code directly in to the post and format it using to "markdown cheatsheet" linked below the comment box, or you can click the camera icon in the top right of the workspace to take a "snapshot" which will give you a shareable link.
While you're at it, it's worth checking to make sure the changes to your CSS were saved. If there's a red dot next to file name they have not been saved.