+ 2

I am having some issues with importing the CSS library

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

23rd Mar 2021, 7:09 AM
Michael
Michael - avatar
8 odpowiedzi
+ 2
ChaoticDawg look at my code, it still don't work
24th Mar 2021, 2:01 AM
Michael
Michael - avatar
+ 2
𝕄𝕚𝕔𝕙𝕒𝕖𝕝 𝕃𝕚𝕦 [🄰🄲🅃🄸🅅🄴] (っ◔◡◔)っ If you read through the link, all the info and examples are there!
24th Mar 2021, 3:05 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
𝕄𝕚𝕔𝕙𝕒𝕖𝕝 𝕃𝕚𝕦 [🄰🄲🅃🄸🅅🄴] (っ◔◡◔)っ You need to set up a github pages and have the CSS served from there. Just doing it from a regular repository doesn't work. The repository also needs to be public. Either that or you'll need to host the CSS file somewhere that can serve the file, not just link to it. When you just link to it like that the type is incorrect to be used as a CSS file. Please, re-read the info at the link to see what I mean and what is needed to be done in order to get it to work. Maybe try getting it to work in your PC browser first so you can actually see the error(s) associated with the issue.
24th Mar 2021, 2:08 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
It is mines
24th Mar 2021, 2:17 AM
Michael
Michael - avatar
+ 1
you cannot expect link a css file from a private repository ^^ by the way, raw pages are served as plain text: they should be served with the correct mime type of the file, wich can nowadays only be done through github page ;)
24th Mar 2021, 2:20 AM
visph
visph - avatar
+ 1
Then what link should I put. Can I have an example please, visph ?
24th Mar 2021, 3:03 AM
Michael
Michael - avatar
0
is the github account your? because the url you use don't link to anything at github (or link to a private repository)...
24th Mar 2021, 2:17 AM
visph
visph - avatar