Hi i have a problem while trying to specify an url for my font family :O | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi i have a problem while trying to specify an url for my font family :O

i think my url isnt correct, pls someone can help me ? @font-face{ font-family: "Slipknot"; src: url('../Fonts/Sickness.ttf'); } header{ color: white; font-family: "Slipknot"; }

14th Mar 2020, 8:36 PM
Tom Di Marco
Tom Di Marco - avatar
5 Answers
+ 2
Are u using sololearn playground? If yes, then you can't access your local storage
14th Mar 2020, 9:04 PM
Ore
Ore - avatar
+ 3
Is the file in the same folder/location as the styling code?
14th Mar 2020, 8:40 PM
Alfred Juma
Alfred Juma - avatar
+ 2
My font is in Fonts file in my local storage so yes
14th Mar 2020, 8:42 PM
Tom Di Marco
Tom Di Marco - avatar
+ 2
Use google fonts link or upload the file to dropbox
14th Mar 2020, 9:34 PM
Ore
Ore - avatar
+ 1
Ok thanks a lot !
14th Mar 2020, 9:38 PM
Tom Di Marco
Tom Di Marco - avatar