0
Why my icons aren't showing and what's the difference btw fab and fas
11 Réponses
+ 5
<script src="https://kit.fontawesome.com/c21a0a52c1.js"></script>
daniel If you are using fonsawesome icons then use above link to import svg icons.
they provide webfont based icons which can be imported as css files.
https://code.sololearn.com/WCP1iB1H0bNB/?ref=app
+ 4
daniel
Then that user must be using webfont icons and may have imported fontsawesome in css part
Synatx :
@import url('path to css file');
+ 4
daniel the code I have linked to my previous answer imports / includes javascript file by using <script> tag
+ 3
You need to import library to use it's features
0
What do u mean by import library?
0
🇮🇳Omkar🕉 how do i do that
0
🇮🇳Omkar🕉 it didn't show in ur code too
0
🇮🇳Omkar🕉 ohh nvm i have to wait for it to load
0
But i have seen someones code and he used a tag with no href like the one i am using in my code does that change anything?
0
🇮🇳Omkar🕉 is that import by js?
0
So i can write that on my js page instead of doing it on my html page