Hey guys!
So, I’m working on the CSS Project Typography and trying to complete task #7 where you delete the font link from your HTML and enter the local info from Google Fonts directly into your CSS. I was following along with the developer solution video:
and noticed that when he pastes the link ( 6:42 ) the Google Fonts page displayed for his shows
src: local ( …)
Where as mine shows src: url ( …) and omits the local information.
code generated for one of the fonts from the fonts.googleapis site is below:
/* latin-ext */
@font-face {
font-family: ‘Abril Fatface’;
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/abrilfatface/v12/zOL64pLDlL1D99S8g8PtiKchq-lmjcDidBeT5g.woff2) format(‘woff2’);
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
Any thoughts on why I am getting src: “url” instead of “local”?
link I am pasting into browser:
Any ideas are super appreciated!