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

CSS change not taking

in my index file I have:

link rel="stylesheet" href="css/normalize.css"

link rel="stylesheet" href="css/main.css"

(in the correct greater than / less than brackets)

main.css file is in in the CSS folder and has:

body { background-color: orange; }

However after reloading the background is not orange.

What could I have done wrong?

Hi Geoff,

It's hard to know for sure without seeing all the code. There's a link at the bottom of this page called Markdown Cheatsheet than can explain how to include your code in a forum post. Otherwise, based on what you posted already, nothing looks out of order.

7 Answers

Just a guess, your browser may have cached the styles. Try ctrl (or cmd) f5 to force it to pull everything down fresh. If that doesn't work, try clearing your browser's cache manually.

Other things to look at: does it work correctly in another browser? What happens if you change the named color to a hex value like #ff7700?

If none of that works, we'll probably need to see the code like Robert said.

Did you save after writing your code. Sometimes I make that mistake and keep hitting refresh

The file was saved. hex value is not working. I've tried in both Chrome and Safari.

index head code: ```html <head> <meta charset="utf-8"> (link rel="stylesheet" type="text/css" href="css/normalize.css")

(link rel="stylesheet" href="css/main.css")

</head>

main.ccs code:

'''body { background-color: #ff7700; }'''

Ha, i obviously suck at the markdown editor.

I've also completely cleared my cache.

Eeeeek found the problem. CSS / css .

I for some reason named the folder in all caps.

Thanks for your patience! :-)