Hello! In the code below i have applied a family font and it doesnt even work for the font...what do you think is the reason ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hello! In the code below i have applied a family font and it doesnt even work for the font...what do you think is the reason ?

https://code.sololearn.com/WNdP8u33WEGA/?ref=app

24th Dec 2020, 6:25 PM
RiGeL
RiGeL - avatar
6 Answers
+ 1
if it is not browsers built-in font family i.e. custom font you need to include it in css
24th Dec 2020, 8:29 PM
Shadoff
Shadoff - avatar
+ 1
Yeees, saying here must be the car does actually get a car??? if the place is empty? DO You know what I mean? You need to include that custom font
24th Dec 2020, 8:36 PM
Shadoff
Shadoff - avatar
+ 1
You can include cdn of that font or, place that font somewhere on internet and get link, then add this link in your html Like font awesome does well actually what does font mean? it is pixelated pictures of every letter right? then there must be somewhere those pictures!!! so browser can get them and render your text like a font. get it?
24th Dec 2020, 8:48 PM
Shadoff
Shadoff - avatar
+ 1
Ok 👍🏻
24th Dec 2020, 8:52 PM
RiGeL
RiGeL - avatar
0
Shadoff Thanks but if you open my code you'll see that i have written the font-family in the CSS section & it doesnt work🤷‍♀️
24th Dec 2020, 8:32 PM
RiGeL
RiGeL - avatar
0
Bro i run the code at the "Sololearn Platform" not a "browser"...sooo could you tell me what type of font-family will exactly work here ? And how can i include that custom font ?? I appreciate your help.😊
24th Dec 2020, 8:43 PM
RiGeL
RiGeL - avatar