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 Multiple Backgrounds and Web Fonts Review

How the f**k is this wrong?

I am on a question that says _______________{ font-family: 'My Webfont'; src: url('my-webfont.woff') format('woff'), url('my-webfont.ttf') format('truetype'); } And i need to fill in the top. I am not sure what is wrong with @font-face. Any help would be greatly appreciated.

1 Answer

geoffrey
geoffrey
28,736 Points

I've just done it, and typing @font-face works perfectly, my answer was accepted, odd..

I must be going blind... it turns out that I misspelled it.... Thanks anyway mate.