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

Need help with css reset and adding grid css!

I downloaded the correct files from project files and I entered the codes exactly and I did not see anything change. I think the file paths are correct. Here is my codes:

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

File path is like this: Documents>css>normalize.css ,grid.css I wanna get this right before I move on!

7 Answers

I figured it out! When I downloaded the files I went back and put in another .css. When I pulled up the files on Sublime Text 2 I discovered the file names were off. That's why the codes weren't working right. Thanks for helping me out Gareth! Much appreciated.

normalize.css.css instead of normalize.css

I just finished this project and the first thing I would check is to make sure your index.html is in the root folder, in your example it would be the documents folder.

yes, my index.html file is in the documents folder.

Hi Corey, I take it your index.html that has these included is also in Documents? First I would put all the files in a folder and call that your project name to keep things organised. The path you have in your example should work fine though.

yes the index.html file is under documents. I unzipped the files and copied the css folder with the files needed (normalize.css, grid.css) so that code should work. Documents>css>normalize.css, grid.css. I typed those exact codes as above and when I did the CSS reset, the page stayed exactly the same (didn't even change slightly, like in the video tutorial). The grid.css code did nothing either. I'm still trying to figure this out.

Could you drop the files into dropbox and share, that way I could take a proper look?

Hmm trying to drop them in the box isn't working so I will type out the file structure: Documents-(root folder)

css>normalize.css, grid.css, img,.DS_Store are all located in the css file img index Hope that can help

Great news, glad you figured it out Corey.