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 trialMichael Foy
622 PointsWhy 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
Jason Anello
Courses Plus Student 94,610 PointsHi 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
622 PointsThanks Jason, that clears that up, cheers!