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
Mohammed Jammeh
37,463 PointsStruggling 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
James Barnett
39,199 PointsHow to add normalize.css:
- Go to normalize.css repo on github
- Click the big green
downloadbutton - Save the file to your desktop
- Move the
normalize.cssfile in your sublime text project folder - Create a
linkelement that referencescss/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.
Matt Campbell
9,767 PointsCopy your code to here so we can see what is going on.
Scott Paterson
26,869 PointsQuick thing of the top of my head, have you got it linked in the head section? making sure the url matches?
Mohammed Jammeh
37,463 PointsSorry, 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.
Mohammed Jammeh
37,463 Points<link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen">
vandevski
20,617 PointsTry to use Codepen in the future: http://codepen.io
Mohammed Jammeh
37,463 PointsOh yhh haha makes sense. Will try it!
Mohammed Jammeh
37,463 PointsMohammed Jammeh
37,463 PointsThanks a lot sir. I will try and see and hopefully it shall work :)