CSS Typography L18/19 "Font-Face III"


#1

Cannot get past step two of this lesson.

Step;
“Within the @font-face rule, add a src attribute with the relative path of the file Glegoo-Regular.ttf and a format of truetype. Make sure to include this path in the url() parentheses.”

My code;
@font-face {
font-family: “Glegoo”;
src: url(…/fonts/Glegoo-Regular.tff) format(‘truetype’);
}

Message;
“Did you add a ‘…/fonts/Glegoo-Regular.ttf’ value to the format value?”

I’ve tried dozens of variations, checked the code tenfold times over, nothing’s working. Thank you anyone for any help.


#2

Link to the execrsie please :slight_smile: Also based on your code, looks like you didn’t put the url path inside '' (single quotes).

Should be like this:

@font-face {
font-family: “Glegoo”;
src: url('…/fonts/Glegoo-Regular.tff') format(‘truetype’);
}

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.