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 Build a Simple Website Styling Content Fonts and Colors

Eliot Murton
Eliot Murton
7,315 Points

Adding fonts using local develpment

I have added a font from google fonts that is not being reflected on the webpage I am creating. I am MAMP and am developing locally. Might this be the reason that it does not appear to be showing on the webpage?

can't help you without seeing code.

Ziya Jamalov
Ziya Jamalov
6,116 Points

Check it by adding font to new simple txt -> html page. or really show a code.

1 Answer

1) Are you definitely using the correct embedding code.

2) What browser are you using.

3) Have you actually added the font-family name to your CSS to make it appear as the main font for headings or paragraphs.

4) Like James said, it's hard to debug without seeing some code.