How do i load svg from my phone to use in my codes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How do i load svg from my phone to use in my codes?

I don't know how to put svg from my phone into my codes. In the code I attached to this, I want to put Facebook logo as the click for that link. I have the svg on my phone but I don't know how to insert it. Don't pay much attention to the code, I'm just playing around something. Thanks for your help https://code.sololearn.com/Wqbab2JzL85i/?ref=app

21st Sep 2017, 8:06 PM
Oyelami Oyewale
Oyelami Oyewale - avatar
1 Answer
+ 1
use img tag and set svg path inside src attribute like this <img src="yourFilename.svg" height="100"/>
2nd Oct 2017, 11:22 AM
Sayid Yarmohammadi
Sayid Yarmohammadi - avatar