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

HTML How to Make a Website Creating HTML Content Include External CSS

normalize.css

First the Front-End Web Dev track, i just started and we had to add an external css page called "normalize", is this something you would create on your own? or would you get it somewhere already made? I understand that its different than your main.css file, where you add your own styling.

Just a little confused on why not do all this in the main.css file and if you get it already made somewhere or you make it from scratch yourself?

Thanks

1 Answer

Adam Moore
Adam Moore
21,956 Points

It is something that you download, as it has already been created. You can get the Google CDN, and copy the link to include it in your HTML file, or you could download the file to include the downloaded version from your local directory (right click and "Save Link As...").

You could include all of the normalize code in the main css file, but then your code will get really long in that one file, and it may make it more difficult to navigate the new code that you are writing specifically for your page. Simply including it as a link in your HTML file will take care of this, so that you don't have to worry about moving around in the normalize.css file that has already been created.

Thanks Adam!