Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?