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

Struggling with CSS Reset

Hi everyone,

I'm also struggling with CSS reset. I've it copied the code word for word from the "CSS reset" video but still no difference so I'm thinking that I haven't downloaded the "normalize.css on GitHub" properly. Any help please?

Thanks.

5 Answers

Mohammed Jammeh -

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.

Thanks a lot sir. I will try and see and hopefully it shall work :)

Copy your code to here so we can see what is going on.

Quick thing of the top of my head, have you got it linked in the head section? making sure the url matches?

Sorry, couldn't paste the code here but I copied it exactly the way it is in the video. I did link the code in the head section. However, I couldn't download "normalize.css on GitHub". I think that's the bit I'm stocked on that's why there is no changes on my website.

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

Try to use Codepen in the future: http://codepen.io

Oh yhh haha makes sense. Will try it!