How to make facebook logo button?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to make facebook logo button??

I would be happy if you share me a code..

25th Feb 2018, 2:07 AM
Sachin Kumar
Sachin Kumar - avatar
15 Answers
+ 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
25th Feb 2018, 2:51 AM
Mickel
Mickel - avatar
+ 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. 🤔
25th Feb 2018, 2:25 AM
Jax
Jax - avatar
+ 2
No let me share you a logo page
25th Feb 2018, 2:12 AM
Sachin Kumar
Sachin Kumar - avatar
+ 2
So you’re going to show me a code?
25th Feb 2018, 2:13 AM
Jax
Jax - avatar
+ 2
No but the ouput of others
25th Feb 2018, 2:15 AM
Sachin Kumar
Sachin Kumar - avatar
25th Feb 2018, 2:19 AM
Sachin Kumar
Sachin Kumar - avatar
+ 2
Can you see logo in the foster section
25th Feb 2018, 2:19 AM
Sachin Kumar
Sachin Kumar - avatar
+ 2
Yes.
25th Feb 2018, 2:20 AM
Jax
Jax - avatar
+ 2
So how can I make logo like that??
25th Feb 2018, 2:23 AM
Sachin Kumar
Sachin Kumar - avatar
+ 2
Thanks anyway. That's help me a lot 😊😊😊
25th Feb 2018, 2:28 AM
Sachin Kumar
Sachin Kumar - avatar
+ 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
25th Feb 2018, 2:40 AM
Mickel
Mickel - avatar
+ 2
Wow your code is supercool but how would that button work??
25th Feb 2018, 2:44 AM
Sachin Kumar
Sachin Kumar - avatar
+ 2
Thanks its working now
25th Feb 2018, 3:00 AM
Sachin Kumar
Sachin Kumar - avatar
25th Feb 2018, 2:10 AM
Jax
Jax - avatar
+ 1
You are welcome! Good luck!👍
25th Feb 2018, 2:29 AM
Jax
Jax - avatar