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

Section 4 CSS STUCK!

I'm just a bit into the Section 4 video and have just created the main.css file and attached it into my index.html file. It's identical to the normalize line except of course for the "css/main.css", but for some reason no matter what I do in the main.css page no changes take effect in my index page. I've gone over it 20x and can find no reason why background color, text decoration, color, nothing works.

a { background-color: red; }

I keep trying something striking like above but get no response out of index no matter how many times I refresh and go over the link code.

Can somebody help?

Thanks

3 Answers

then something is wrong with your external style sheet link , check it out

Sho Nuff, I had named the CSS folder in caps but put the link in lower case, thanks lazy guy!

Here's my index.html markup:

<head>
  <meta charset="utf-8">
  <title>Jason Smith | Designer</title>
  <link rel="stylesheet" href="css/normalize.css">
  <link rel="stylesheet" href="css/main.css">
 </head>

things like this happen all the time , all the best tough