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

General Discussion

varlevi
varlevi
8,113 Points

Fonts in Workspaces

I everyone,

I have been practicing building PHP Website project on my own and tried using two Google Fonts (Montserrat Alternates and Cormorant Infant) in the project, but it is not working. I've checked the code and found no problems! So does Workspaces just not support Google Fonts, or do I just need to check my code again?

Thanks for the help!

1 Answer

Workspaces support Google Fonts. Try this example from the Google Font page

<html>
  <head>
    <link rel="stylesheet"
          href="https://fonts.googleapis.com/css?family=Tangerine">
    <style>
      body {
        font-family: 'Tangerine', serif;
        font-size: 48px;
      }
    </style>
  </head>
  <body>
    <div>Making the Web Beautiful!</div>
  </body>
</html>

If you post your code it will be easier for others to help