+ 3

I am providing right path to the font awesome style sheet but it doesn't seems to work

so I am using Acode editor on my Android device and I think I provided correct path which is as follow <link rel="stylesheet" href="/storage/emulated/0/fontawesome-free-5.13.1-web/css/all.css">

22nd Jun 2020, 4:49 PM
Abhay
Abhay - avatar
5 odpowiedzi
+ 1
Doesn't work , actually that's the right path i provided,when I opened all.css file I took a screenshot of that path while the file was loading ,and it was file:///emulated/storage/0/... When i use cdn link it works fine , literally confused on what's wrong I used another html editor ,anWriter and it works fine there with the same link
22nd Jun 2020, 9:34 PM
Abhay
Abhay - avatar
0
try /sdcard/fontawesome.... sdcard is not necessarily SD card.
22nd Jun 2020, 9:24 PM
Bahhaⵣ
Bahhaⵣ - avatar
0
check if sololearn is allowed to access storage and be carefull if you are posting this code to the public, the file is not going to be found because everyone has a different phone.
24th Jun 2020, 8:58 PM
moses
moses - avatar
0
moses obviously it's not on sololearn ,I am talking about Acode editor on Android ,that path is correct to css file but doesn't works ,but if I use that path in anWriter it works well
24th Jun 2020, 9:13 PM
Abhay
Abhay - avatar
0
Abhay cool then :)
24th Jun 2020, 9:13 PM
moses
moses - avatar