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 Build a Simple Website Creating a Website Structure Working with Grids

Grid and Normalize won't update my website

Hello I've included both files on the same directory as my index.html. Not under css folder since I tought this was causing me problems.

I added:

  <link rel="stylesheet" type="text/css" href="normalize.css" media="screen">
  <link rel="stylesheet" type="text/css" href="grid.css" media="screen">

And I do have normalize.css and grid.css on the same folder as index.html (Im 100% sure that they are there and not on a sub folder)

What could be the case? I am running MAMP for testing correctly. Opening the file locally does fix the thing but why with MAMP it shows like if css wasn't even linked?

3 Answers

Chase Lee
Chase Lee
29,275 Points

Try taking out media="screen". Other than that I can't see what would be wrong with it.

Did you add it between your head tags?

Shane Meikle
Shane Meikle
13,188 Points

By itself, you shouldn't see any major updates to your site. Normalize will make the site truly default before you add your own customizations, and grids will only be able to work once you assign them to where you want them to be.

I did try to remove media="screen" but no luck. Yes, the link tags are lnside my head. I cant beleive this is happening, im already all good with html/css/php and decided to do the entire php track for the points. It only happens with this tutorial but not with the other ones like the frog's tshirt store. And as I said, this bug only happens on apache, opening the file on the browser doesnt cause the css bug.