+ 17

Why am I getting this error when i try to use google fonts?

https://code.sololearn.com/Wd3gISMEAru7 Error: p5.js says: It looks like there was a problem loading your font. Try checking if the file path [https://fonts.googleapis.com/css?family=Bowlby+One+SC&display=swap] is correct, hosting the font online, or running a local server.[https://github.com/processing/p5.js/wiki/Local-server]s with p5.js?

9th Feb 2020, 10:02 PM
Torie White
Torie White - avatar
7 Respuestas
+ 18
Try without the loadFont function, leave the stylsheet import in the HTML tab and load the font using textFont() function like so: textFont("Bowlby One SC"); https://discourse.processing.org/t/how-to-use-google-fonts-in-p5js-online-editor/6893/5
9th Feb 2020, 10:24 PM
Burey
Burey - avatar
+ 16
thank you Burey and BroFar it works now😊😊
9th Feb 2020, 11:47 PM
Torie White
Torie White - avatar
+ 8
here is the error message with the system recommendation attached: Burey is most likely correct. https://ibb.co/WgvFbP7
9th Feb 2020, 11:33 PM
BroFar
BroFar - avatar
+ 4
Nadia Please don't spam. Please see link for rules: https://www.sololearn.com/Discuss/1316935/welcome-to-sololearn-forum/
10th Feb 2020, 10:01 PM
HTML Master
HTML Master - avatar
+ 1
ok thank you for the information
10th Feb 2020, 10:04 PM
Nadia
- 5
hey
10th Feb 2020, 9:44 PM
Nadia
- 6
im kinda bored
10th Feb 2020, 9:45 PM
Nadia