+ 2
How to make facebook logo button??
I would be happy if you share me a code..
15 RĂ©ponses
+ 4
If you need the button to redirect you to another address you can use the onclick event.
<button onclick = "location.href = 'http://someweb.com';">
<! - font awesome icon goes here ->
</ buttton>
Or you can use a normal link
<a href="linkhere.com"> <i class = "fab fa-faceook-f"> </a>
In this case you just have to apply the style of the button to the <a> tag
+ 3
The image was downloaded into the program with the following code:
src="https://www.sololearn.com/Uploads/icons/facebook.png"/>
But Iâm not sure how youâd do that. đ€
+ 2
No let me share you a logo page
+ 2
So youâre going to show me a code?
+ 2
No but the ouput of others
+ 2
Can you see logo in the foster section
+ 2
Yes.
+ 2
So how can I make logo like that??
+ 2
Thanks anyway. That's help me a lot đđđ
+ 2
You can make a very similar button using Font Awesome. Here you have a little more information:
https://fontawesome.com/how-to-use/svg-with-js
I gave the button a bit of style to give a similar image. If the code serves you, you can copy / save it and notify me to delete this example. :)
https://code.sololearn.com/W7VeLV29MRDw/?ref=app
+ 2
Wow your code is supercool but how would that button work??
+ 2
Thanks its working now
+ 1
+ 1
You are welcome! Good luck!đ