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 How to Make a Website Customizing Colors and Fonts Add Fonts

Paul Trimor
Paul Trimor
5,388 Points

Either I am not getting the code right, or the code is not getting me right.

I added this code : font-family: 'Source Sans Pro', 'sans-serif'; yet the website is telling me "Bummer! Be sure to include sans-serif as a fallback."

3 Answers

Hi,

To get the code to pass you can just remove the ' ' from around sans-serif.

Just as a note the ' ' marks are only required for font names containing spaces.

Hope this helps Bob

Juan Perez
PLUS
Juan Perez
Courses Plus Student 8,944 Points

did you try putting it like this

font-family: "Source Sans Pro", sans-serif;

without the wrapping quotes?

Paul Trimor
Paul Trimor
5,388 Points

I actually tried typing the code again at a different computer- it let me pass.