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 Treehouse Club: CSS My First Web Page Wrap Up

Sean Ryder
Sean Ryder
1,884 Points

Adding google fonts via a pc

I am trying to add google fonts into the css stylesheet and on the training video it says to click on the use tab but i don't get that. it says to simply copy and paste but paste doesn't work in the css stylesheet on the course??

Daniel Gibson
Daniel Gibson
10,603 Points
  • If you find the font that you want on google.
  • Copy the font family eg. 'Arial, Helvetica, sans-serif'.
  • Then go to your stylesheet and paste the font family like the following example...

body { font-family: Arial, Helvetica, sans-serif; }

OR

p { font-family: Comic Sans MS", cursive, sans-serif; }

I hope that helps.