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 Customizing Colors and Fonts Pick Fonts and Set Relative Units

Tushar Arora
Tushar Arora
1,760 Points

Why I need to put Link tag for google fonts stylesheet after Normalize.css link tag ?

As discussed in video, why I need to put Link tag for google fonts stylesheet after Normalize.css link tag ? I tried putting it before & it worked.

<link href="https://fonts.googleapis.com/css?family=Rakkas" rel="stylesheet"/> <link href="css/normalize.css" rel="stylesheet"/> <link href="css/style.css" rel="stylesheet"/>

1 Answer

Erik Nuber
Erik Nuber
20,629 Points

whenever you link another style sheet and make changes within that style sheet, it will override anything previous. Normalize would go first, or a reset CSS file because this is the foundation for your site. Anything to follow now will make changes to that site. For Font files, I wouldn't worry so much as to the order outside of making sure normalize is on top. But, you will have your regular CSS file, likely called main.css which as long as it's below Normalize shouldn't effect your font files.