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

HTML Introduction to HTML and CSS (2016) Getting Familiar with HTML and CSS Welcome to HTML and CSS

css color changing

after i changed the color on ccs and refreshed the page the color didn't changing

Cameron Childres
Cameron Childres
11,818 Points

Hi 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.

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi 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! :sparkles:

i appreciate it, after i save it worked perfectly