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 Enhancing Design with CSS Styling Text Google Fonts

erics38
erics38
1,178 Points

I am not sure, but I don't think Google Fonts works like that anymore. I see nowhere to get just what you want.

Yes, so i went through the Google FAQs and I seems to now be bad advice to 'just grab what you will use' to prevent too much loading.

I think its a legacy feature, I hope that's not important to the continuing lesson.

Steven Parker
Steven Parker
241,434 Points

How do they say to use it now?

1 Answer

Joy Hancock
seal-mask
.a{fill-rule:evenodd;}techdegree
Joy Hancock
Front End Web Development Techdegree Student 2,484 Points

Yes, you are correct that current best practice is just to get all the font variables instead of picking and choosing as this is better for performance.

Now you just click "Get font" in the upper right hand corner of your screen once you select your font. Then you can choose to get an embed code or download the font files and it skips the part where you select which font weights, etc. that you want. The embed code is what you will put in the head of your html.