Good day guys , im stuck on Exercise 18/19 of Learn CSS: Typography.
I would appreciate your help alot.
1.In the fonts/ directory, you’ll notice that we have added several local font files.
Let’s change the typography of the banner, using local font files. If you open up the fonts/ directory using the file navigator in the code editor, you’ll notice that we have added local font files Glegoo-Regular.ttf and Glegoo-Bold.ttf.
At the top of style.css, create a selector using the @font-face property and give it the font family Glegoo.
Question1: Is it mandatory to have single quotes for the font-family Glegoo?
Question2: Why aren’t double quotations mandatory for the typefaces Glegoo-Regular and Glegoo-Bold under src?
According to Exercise 2/19 however ,it was shown that it was not necessary to have any quotations for a typeface with one word , only for typefaces with more than one word is necessary for double quotations
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.
Question3: Why are there 2 periods instead of 1 period? From what i know from Learn HTML: Elements and Structure, only 1 period is required to access a local file.