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

I am not able to make my website reset.

I have done everything in the video and my code looks exactly like his but my website will not reset or grid properly.

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

2 Answers

James Barnett
James Barnett
39,199 Points

How to add normalize.css:

  1. Go to normalize.css repo on github
  2. Click the big green download button
  3. Save the file to your desktop
  4. Move the normalize.css file in your sublime text project folder
  5. Create a link element that references css/normalize.css

The <link> tag, works the same way as an <a> by using the href attribute.

Note: These directions assume that all of your CSS files are in a folder named css.

James Barnett
James Barnett
39,199 Points

If you followed the above steps and you are still having issues, it's probably an issue with the file path. Here's a quick primer of paths that should get you going.

J.T. Gralka
J.T. Gralka
20,126 Points

Have you downloaded the normalize.css file from github? If you haven't included it in your project folder or linked to a CDN directly, then that might explain why your page hasn't reset.

Also, do you have an example of your .html file that you could share? It might help us figure out if you're having any issues with your <link></link> tag...

Best,

ā€“ J.

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

J.T. Gralka
J.T. Gralka
20,126 Points

Garett Langman, your post above appears to be blank...