+ 1
Hi sololearn friends i am totally a biginer on web design i love it but lately i found some issues just like the 1 am gone ask..
The question is... When i try to make a slidebar with sub menu i saw a video and they use this code 🎀<span class="fas fa-bars"></span> And i am trying to this but i can't why?is there any thing that i mise or it requires any thing? Pls give me your answer with solutions i really need it. Thank you for your help.
6 ответов
+ 5
this is font awesome, you need to have its CDN for it to work.
go on google, search for font awesome cdn, it would be a long <link /> tag that you have to paste in the head of html, then this fas fa-bars icon would work. if it still doesn't show up, try fa fa-bars instead of fas fa-bars. There are many other icons that u can find on fontawesome's own site.
+ 1
Fas to me sound's like font awesome ,look for the font awesome Lib ,it's probably an icon called fa-bars ,these icons are usually displayed by loading font awesome css file and then using class name to target the particular icon mentioned in css file
type fas fa bar in Google and you will land on many links like this,
https://fontawesome.com/icons/bars
+ 1
Thank you very much for your help.
+ 1
👍
0
So can i download css file juat like i can download JQuery file?
0
yup or use a cdn to link it via link tag if you are using sololearn