Icon Button | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Icon Button

Using the Bootstrap and Google Icon library, how can I fix this icon (it is in a weird position) and turn it into a button? https://code.sololearn.com/Wa40C1286Sob/?ref=app

6th Apr 2019, 4:50 PM
Clueless Coder
Clueless Coder - avatar
4 Answers
+ 2
'bulleted-list' is not an officially supported icon. You can use 'format_list_bulleted' instead. https://material.io/tools/icons/
9th Apr 2019, 9:21 AM
Janningā­
Janningā­ - avatar
+ 5
://Maybe need some explanation
6th Apr 2019, 7:31 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 5
(Sorry for the late reply) If you replace "bulleted-list" with "cloud" you will see that they are in very different positions. (Plus bulleted-list has a weird line next to it) If they could be aligned properly I would be able to change the size and colour etc.
9th Apr 2019, 8:01 AM
Clueless Coder
Clueless Coder - avatar
+ 2
Unsure what an un-weird position would be for you. What kind of a button did you want? The HTML for a form (communicates with your server) button would just be the icon inside a button tag. <button><i... >... </i></button> The HTML for a button-like anchor (hyperlink) would just be the icon inside an anchor tag. <a href="..."><i... >... </i></a> Javascript can also make just about anything into a button via onclick. Maybe a complete question would help us help you get a complete answer?
8th Apr 2019, 11:19 AM
Janningā­
Janningā­ - avatar