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

Michael Foy
Michael Foy
622 Points

Why is it important to link to google fonts after normalize.css but before main.css?? Could it not also go before both?

I would have thought that if the fonts were loaded before both stylesheets it would have been best as it would then be accessible to both. Does that make sense?

2 Answers

Hi Michael,

That's correct. It could go before both. It's not important that you link it after "normalize" but it is important that you link it before "main.css"

Basically, it wouldn't matter if you put it before or after "normalize". It's not really a benefit to be able to access it within "normalize.css" because it wouldn't be appropriate logic to place a font-family declaration inside normalize.css

Generally you should leave files like normalize unmodified and then override what you need to in your own custom styles.

Michael Foy
Michael Foy
622 Points

Thanks Jason, that clears that up, cheers!