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
marsha spell
Courses Plus Student 5,555 Pointshelp please
Add a body selector and set the font family to 'Nunito' with a sans-serif fallback. i have been at this all day can someone show me how to do it? i have watched the video like 15 times and i am still not getting it
8 Answers
marsha spell
Courses Plus Student 5,555 Pointssorry i forgot thanks!
James Barnett
39,199 Pointsmarsha spell - It's hard to know where you are having issues without first seeing your code.
You might find this syntax reference helpful to compare against your code.
Justin Horner
Treehouse Guest TeacherHello Marsha,
Without seeing your code it's hard to determine what the problem could be.
A few tips:
- Make sure you place Nunito in single quotes and uses a capital N.
- Make sure you are separating the families with a comma.
If these tips don't help please post your code so I can help you further.
khawar mahmood
4,765 PointsHi ! Marsha , i suggest u write your codes in post, what you r writing , it's easy than
tugba birkel
3,593 Pointscode redacted this is the right answer.
marsha spell
Courses Plus Student 5,555 Points{font-family: 'Nunito' sans-serif;} this goes in the css
James Barnett
39,199 Pointstugba birkel - Remember our goal on the forum is give help not answers, next time try giving an explanation and/or a hint instead.
Need more explanation on the distinction check this out.
Marius Muscalu
4,293 PointsMy code is:
h1 { font-family: 'Roboto', 'sans-serif'; }
and I get this error: Bummer! Be sure to include sans-serif as a fallback for your font.
What I am doing wrong ?!
later edit: I have removed the commas from sans-serif and it worked. :/
marsha spell
Courses Plus Student 5,555 Points{font-family: 'Nunito' sans-serif;} OK HERE ITS. NOW DO I PUT IT IN THE CSS OR HTML PAGE??
James Barnett
39,199 Pointsmarsha spell - You forgot the comma between your 2 font families.
For future reference, in online forums and emails, writing in ALL CAPS is often interrupted as yelling.
James Barnett
39,199 Pointsmarsha spell - You forgot the comma between your 2 font families.
Jason Rollins
921 PointsHi there. I'n having the same problem as Marsha was. Would someone be able to explain to me why the code I have put in is incorrect?
'''html <title>Smells Like Bakin' Cupcake Company</title> <link rel="stylesheet" href="css/normalize.css" type=text/css"media="screen"> <link rel="stylesheet" href="css/grid.css" type=text/css" media="screen"> <link href='//fonts.googleapis.com/css?family=Nunito' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="style.css" type="text/css" media="screen">'''