Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS The Selectors Solution

Sebastian Finé
Sebastian Finé
2,972 Points

Syntax questions

So, I figured there is always the font I want, the family-name, and a generic font afterwards to support in cases my font will not load or something.

In the video the family name is nested in single things like this family-name. I have a QWERTZ Layout. I don´t even know how to make them. "family-name" works as well, as does family-name without any quotation marks.

On W3C it´s written with "", so I guess it´s the right format for the family-name?

1 Answer

Here is a quick explanation;

The quotes around the font name are necessary if the name contains white-space.