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 trialJake Baker
1,916 PointsMy normalize and grid files, when linked in the index Html file doesn't change anything in my browser. was I supposed to save the project files somewhere specific?
My normalize and grid files, when linked in the index Html file doesn't change anything in my browser. was I supposed to save the project files somewhere specific?
2 Answers
Geoffrey Powell
15,358 PointsYour index.html, grid.css, and normalize.css files can all be in the same directory. Under the head in your html file, you will want to link your css files like so:
<link rel="stylesheet" href="normalize.css" type="text/css" media="screen">
<link rel="stylesheet" href="grid.css" type="text/css" media="screen">
If you want to put your css files in a directory below your html file (for instance if you put your css files in a separate folder for organizational reasons), link them the way I showed you above, only change the href to "nameofyourdirectory/normalize.css" and "nameofyourdirectory/grid.css" respectively.
Hope that helps.
Jeff Busch
19,287 PointsHi Jake,
If you linked them like this: <link rel="stylesheet" href="css/style.css" type="text/css"> Then the files need to be in the css directory/folder below the directory/folder your index.html file.
Jeff
Jake Baker
1,916 PointsJake Baker
1,916 PointsThanks. took me a bit, but you helped!
Jake Baker
1,916 PointsJake Baker
1,916 PointsThanks. took me a bit, but you helped!