+ 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.

5th Jan 2018, 12:37 AM
Yohannes Jatmiko Yuwono
Yohannes Jatmiko Yuwono - avatar
6 odpowiedzi
+ 12
HTML: <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> CSS: font-family: 'Roboto', sans-serif;
5th Jan 2018, 1:15 AM
The Coding Sloth
The Coding Sloth - avatar
+ 14
marked as solved so that other users might benefit from it in the future :)
5th Jan 2018, 7:19 AM
Burey
Burey - avatar
+ 4
Thank you all for the answers! I've figured it out now! 😁👌
5th Jan 2018, 3:05 AM
Yohannes Jatmiko Yuwono
Yohannes Jatmiko Yuwono - avatar
16th Jun 2020, 5:14 PM
Vivek Kumar
Vivek Kumar - avatar
+ 3
show the code
5th Jan 2018, 12:43 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
5th Jan 2018, 2:03 AM
Hanz
Hanz - avatar