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

CSS

Deleting lines of .CSS but nothing changes in preview.

I have a .CSS file linked to an .html file. Been using it to style the web page for a few days without issue. Now when I add/delete lines in the .CSS the preview remains the same. I tried deleting everything in the .CSS file and saving but still nothing changed.

I know they are linked properly because when I delete "link rel="stylesheet" href="css/main.css" in the .html file everything reverts to "normalize.css" stylings in the preview.

1 Answer

It could be the CSS file you are editing is not being saved to the correct folder? or you are editing a file from a different folder thinking it is the correct file?