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 CSS Basics (2014) Enhancing the Design With CSS Web Fonts with @font-face

haakon Guttormsen
haakon Guttormsen
2,157 Points

web fonts @font-face

Hi, I am doing a follow along on web fonts. When I try to change the font-family in my heading "lake tahoe, California" using this technique "@font-face", nothing happens even if I write the same code as in the video. I am targeting h1 and h2, but I dont see any change. Does anyone see the problem?

I`m adding a snapshot from Workspaces: https://w.trhou.se/bbkdpal3id

thanks in advance!

1 Answer

Christopher De Lette
PLUS
Christopher De Lette
Courses Plus Student 7,139 Points

Hi haakon Guttormsen,

Make sure in your rule that you are calling the font-family exactly as written in the given name. In your case you have the font-family name as 'abolition regular ' yet in the h1, h2 combo selector you are calling using 'Abolition Regular'

Hope this helps and take care!