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 trialY B
14,136 PointsBest practice for including fonts
On the how to build a website course We copy in some google fonts via a link.
There is also the option to use @import What is the best practice way to include fonts in a site?
1 Answer
Tyler Haas
20,623 PointsFor performance reasons you should always link it in you html...Here is a great article that explains why this is a better way to go:
http://www.stevesouders.com/blog/2009/04/09/dont-use-import/
Y B
14,136 PointsY B
14,136 PointsThanks that's a great article, I wonder if the tests would still hold up 5 years on in the latest browsers?
Tyler Haas
20,623 PointsTyler Haas
20,623 PointsNo problem!