+ 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.

22nd Sep 2020, 8:37 PM
Eyob Kurabachew
Eyob Kurabachew - avatar
6 Respostas
+ 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.
22nd Sep 2020, 10:17 PM
maf
maf - avatar
+ 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
22nd Sep 2020, 8:41 PM
Abhay
Abhay - avatar
+ 1
Thank you very much for your help.
22nd Sep 2020, 8:59 PM
Eyob Kurabachew
Eyob Kurabachew - avatar
+ 1
👍
22nd Sep 2020, 9:00 PM
Abhay
Abhay - avatar
0
So can i download css file juat like i can download JQuery file?
22nd Sep 2020, 8:53 PM
Eyob Kurabachew
Eyob Kurabachew - avatar
0
yup or use a cdn to link it via link tag if you are using sololearn
22nd Sep 2020, 8:58 PM
Abhay
Abhay - avatar