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; }


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

I hope that helps.