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

how to actually put the normalize.css into the workspace?

In this video Guil doesn't explain how to actually put the normalize.css into the workspace. Does the file he downloads then saves just need to be on his computer, or does he need to insert it into the text editor he's using before linking it in the HTML?

3 Answers

Gianmarco Mazzoran
Gianmarco Mazzoran
22,076 Points

Hi,

in your workspace:

  1. create a new file;
  2. name it "normalize.css";
  3. copy in the code from this page inside your new file;
  4. save it;

and you have your own copy of normalize.css in your workspace ready to go!

Go into your html file... and in the <head> </head> you must place <link href="normalize.css" rel="stylesheet">.

The href literally looks for the name of the file in your project and the rel is short for relationship. It basicaly wants you to put a short description of what this link is in relationship to your index.html. And it is a stylesheet so that is what you put.

Thanks for these answers!

I think I should have clarified that I meant more in the 'real world'...not just in Treehouse's workspaces tool.

But maybe it's the same way?