Bootstrap icons aren't working on sololearn. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Bootstrap icons aren't working on sololearn.

4th Aug 2021, 3:02 PM
aslam Sidheeq
2 Answers
+ 1
Bootstrap works in Sololearn but you can mess up a reference to it or mess up how you use it. This uses Bootstrap CSS's float-right class. The "?" button is floated to the right because Bootstrap CSS is doing its job without referencing more than their CDN or copying any of their content into a local code base: https://code.sololearn.com/WxTR7dy1YiYe Share a link to your broken code and I can see why it isn't working. It helps to reproduce your problem and be free to see what changes fix it.
4th Aug 2021, 3:05 PM
Pariket Thakur
Pariket Thakur - avatar
+ 1
Follow 3 steps to get Bootstrap icons 1. Add css link in head tag <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css"> 3. Find icons you want from https://icons.getbootstrap.com/#install 2. add the icon element in body tag <i class="bi bi-alarm"></i> https://code.sololearn.com/W38fJ9kComj7/?ref=app
4th Aug 2021, 5:12 PM
Calviղ
Calviղ - avatar