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 How to Make a Website Debugging HTML and CSS Problems Review: Debugging HTML and CSS Problems

Anna Mendelev
Anna Mendelev
2,915 Points

CSS not taking affect?

My site used to look as it should. I relaunched workspaces and clicked "preview" again- CSS (main.css) seems not to be affecting the site anymore. I did not change the position of any files. This is my <head> code:

<head> <meta charset="utf-8"> <title>Anna Mendelev | Puppies and Bananas</title> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> <link rel="stylesheet" href="css/responsive.css"> <meta name="viewpoint" content="width=device-width initial-scale=1.0"> </head>

-Is this a known workspaces bug? -What am I missing?

Anna

2 Answers

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

It's possible that your browser is loading in cached data. Try clearing your browser cache and see if that helps! :sparkles:

Anna Mendelev
Anna Mendelev
2,915 Points

Thanks Jennifer. You were completely right. works perfectly well in incognito. have a great day! A

If you think the stylesheet is not being loaded for some reason, you can also use the dev tools and select network. There you can see there what files are being loaded. If you see main.css file then you know it's being loaded. After that try and reset your browser data/caching. you should be good to go.