+ 5
[SOLVED] How do you apply Google custom font into the Code Playground on SoloLearn?
I've been trying to apply a couple of custom fonts that I got from Google to my html & css codes but I don't know how to. I tried to link the font URL to my HTMLs but it won't work. Can somebody please help? Thanks in advance.
6 ответов
+ 12
HTML:
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
CSS:
font-family: 'Roboto', sans-serif;
+ 14
marked as solved so that other users might benefit from it in the future :)
+ 4
Thank you all for the answers! I've figured it out now! 😁👌
+ 3
show the code
+ 3
this might help.
https://developers.google.com/fonts/docs/getting_started