Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Shloime Kahan
4,943 PointsGoogle fonts not working
The google fonts are not working.
Please can someone tell me where I went wrong?
/* Webfonts */ <style> @import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:400,400i|Alegreya+Sans:400,400i|Alegreya:400i,900i'); </style>
/* Basic Elements */ html { margin: 0; padding: 0; } body { font-family: 'Alegreya Sans', Verdana, Tehoma, sans-serif; font-size: 1.25em; line-height: 1.6; margin: 0; padding: 0; color: #282932; background: #f6f4ec; }
p { margin: 0; }
p + p { text-indent: 1.5em; }
h1,h2,h3,h4,h5,h6 { font-family: 'Alegreya', Georgia, serif; font-weight: normal; font-style: italic; color: #9bc152; }
h1 { font-size: 3.157em; line-height: 1.1; }
h2 { font-size: 2.369em; line-height: 1.15; margin: 0 0 .54em; }
h3 { font-size: 1.777em; line-height: 1.2; margin: .9em 0 .62em; }
ul { margin: 0; }
li { margin: 0; }
a:link { text-decoration: none;
} a:visited { text-decoration: none; }
a:hover, a:focus, a:active { text-decoration: none; }
abbr { font-family: 'Alegreya Sans SC', Verdana, Tehoma, sans-serif; text-transform: lowercase; }
::selection { }
/* Specific Styles */
header { padding: 10em 4%; text-align: center; }
header h1 { font-size: 6.2em; font-weight: 900; color: #282932; margin: 0; }
header h2 { font-family: 'Alegreya Sans', Verdana, Tehoma, sans-serif; font-size: 1.777em; letter-spacing: .3em; text-transform: uppercase; font-style: normal; }
header abbr { text-transform: uppercase; }
.summary { Color: #f6f4ec; Background: #9bc152; text-align: center; padding: 1.5em 6%; }
.summary p { font-size: 1.333em; max-width: 44rem; margin: auto; line-height: 1.4; font-style: italic; }
.summary p + p { text-indent: 0; font-style: normal; font-size: 1em; margin-top: .2em; color: #708647; }
.summary a { font-family: 'Alegreya Sans SC', Verdana, Tehoma, sans-serif; color: #708647; border-bottom: 1px solid #708647; }
.summary a:hover { color: #f6f4ec; border-bottom: 1px solid #f6f4ec; }
1 Answer

KRIS NIKOLAISEN
54,664 PointsIf that is in your CSS try removing the style tags from here:
/* Webfonts */ <style> @import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:400,400i|Alegreya+Sans:400,400i|Alegreya:400i,900i'); </style>
so it's just:
/* Webfonts */ @import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC:400,400i|Alegreya+Sans:400,400i|Alegreya:400i,900i');
Shloime Kahan
4,943 PointsShloime Kahan
4,943 PointsWorks! Thank you so much