Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Using the exact code as in video, my text color did not change. I saved the work before previewing my change.

I am following along doing exactly as the video instructor and running into an issue with my font color not changing when I enter the correct style sheet code. I saved the information and also refreshed then tried to preview the page the font is still in black. Also when I highlight the word "blue" in the nested style sheet, it does not show me the blue color chip as in the video. Has this code been updated to be entered differently since the video was produced or something?

Damien Watson
Damien Watson
27,419 Points

Hi Jodi, this may be a cache issue with your browser or something in the code. Are you able to paste in your css and maybe the html which it is trying to change? We'll start with this and figure it out from there.

Clearing the cache can be solved by doing a forced refresh ctrl+r / cmd+r / ctrl+f5 ... I just try everything ;), closing the browser and reopening can also do the trick.

Damien could be onto something with that one. Try clearing your cache. If that doesn't work please check that there is no contradictory code preventing the color change.

1 Answer

Ariel Aronica
Ariel Aronica
6,646 Points

If you are still having this issue, you can post your code and we can be more of assistance. Sometimes we make small errors in the code when we type. Those small errors can completely mess up your code.