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 trialMARY NGUYEN
470 Pointsin your css, apply your font to the first level headline using font-family. include a sans-serif fallback.
css/main.css
1 a { 2 text-decoration: none; 3 } 4 5
wrapper {
6 max-width: 940px; 7 margin: 0 auto; 8 } 9 10
logo {
11
text-align: center;
12
margin: 0;
13
}
14
<head>{
15
h1,
16
font-family:'changa one', sans-serif;
17
margin: 15px 0;
18
font-size:1.75em;
19
font-weight: normal;
20
line-height:0.8em;
21
</head>
2 Answers
Kristen Law
16,244 PointsI'm guessing you have a question about your code for this Code Challenge?
When you specify your Google font in the font-family
, make sure you have the capitalization exactly the same as the Google font that you linked in your index.html
file. In your case, it should be 'Changa One'
. Once you change that it should work!
Samuel Bran
13,682 PointsSo, your problem is?