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 trialTord Pedersen
1,977 PointsTrouble with setting ’Nunito’ first in font-family?
Hi,
I can't solve the task of setting Nunito first in the font-family. Do anybody know what’s wrong? Do I have to change something in html as well? This is my code.
body { font-family: ’Nunito’, sans-serif; }
3 Answers
Dave McFarland
Treehouse TeacherIn your code the quote marks around Nunito aren't straight quote marks, they're curly quotes. When I copied and pasted your code into the challenge it failed, but when I changed them to straight quotes it worked:
body { font-family: 'Nunito', sans-serif; }
Jack Lalley
423 PointsHaven't done the course you're on but the code looks fine. Are you importing the font from an external cdn like google fonts or font-face? if so I'd imagine that it's not grabbing the font and there's a problem with your link to the cdn.
Tord Pedersen
1,977 PointsThanks, Jack!
Tord Pedersen
1,977 PointsTord Pedersen
1,977 PointsSpot on! Thank you very much.