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
Ashish Mehra
Courses Plus Student 31 Pointsprons to use too much imported fonts
I m using more than 5 fonts by importing them from google fonts is this will make any load on page speed
1 Answer
Tobias Helmrich
31,604 PointsHey there,
I hope I understood your question correctly. I guess you're importing multiple fonts from google fonts with one link tag and if that's the case then yes, of course the more fonts you'll have on your website the slower it will load. There is also an indicator on the right side of the google fonts page where you can choose which styles you want to have of the fonts you chose (italic, bold, regular, etc.) that shows you how it will affect your page load time.
I always try to stay in the green zone and just import the fonts I really need. You should first design your page and think about which fonts and which styles of it you really need to keep it as fast as possible. There are other factors as well, a fancy font has probably a bigger impact on the page load than a simple sans-serif one.
It also depends on the language you'll want to support. Arabic or Kanji characters for example have a huge impact on the site load and often it's better in this case to just use the user's system fonts for that even if it's not the prettiest solution.
I hope that helps! :)
redcamel2
4,751 Pointsredcamel2
4,751 PointsPlease use correct grammar. Programmers care about grammar.