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


Blocked : CSS style and font family.

Thats the challenge and what they say I m wrong. And below what I typed. Whats wrong???

Thanks a ton !

Add a body selector and set the font family to 'Nunito' with a sans-serif fallback. Bummer! Review how to create a selector if you're unsure about it. also, make sure you're using the correct CSS property for font family. PreviewRecheck work index.html style.css

1 /* Write your CSS below */ 2 body { 3 family-font: 'Nunito', sans-serif; }

5 Answers

Jacob Miller
Jacob Miller
12,466 Points

You've got the font family property backward. It should be font-family, not family-font. :)

wowwww. haha. I try again then :)

One thing I do is everything that happens in the videos I do in either sublime or a simple text editor. Even if it takes me 20 minutes in a ten minute video. It works as practice and a reference to what your working on and what you have worked on. I have made similar mistakes man but good work!

hahaha your right, and moreover when you ve tried many possibilities, then sometimes you just change the words thinking it might be an easy option... haha. Thanks Darryl !

Your welcome and good luck!