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 trialAndrew Lennen
11,561 PointsFont Code Challenge
what am i missing here?
h1 {
font-family: 'Changa One', sans-serif;
font-size: 1.75em;
font-weight: normal;
}
it keeps just saying make sure i set 1.75em
2 Answers
Geoff Parsons
11,679 PointsI'm wondering if you maybe have sone invisible characters in there from a copy-paste or something because i was just able to pass the code challenge with exactly what you posted.
h1 {
font-family: 'Changa One', sans-serif;
font-size: 1.75em;
font-weight: normal;
}
Let me know if you continue to have issues.
James Ingmire
11,901 PointsYou need to use the short hand i presume e..g
h1 { font: normal 1.75em 'Changa One', sans-serif; }
The correct order is:
font: font-style font-variant font-weight font-size/line-height font-family;
Andrew Lennen
11,561 PointsAndrew Lennen
11,561 PointsI managed to fix it. After an age trying on my Mac laptop using Chrome i went onto a PC, did the exact same things and it worked.
Thanks both of you for the assistance though ^ ^