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

Font not changing

Font not changing after applying the @fontface rule. Thanks in advance for any input that You can provide!

https://w.trhou.se/xou5h91j8z

2 Answers

Steven Parker
Steven Parker
229,744 Points

It looks like you wrote "@fontface" instead of "@font-face" (with a hyphen).

Also, you should have only one "src" property setting, but it can have multiple comma-separated values.

Perfect, thanks so much!

@font-face

Okay, thanks!