I am creating a code that needs an image but i dont now how to get the source pls help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I am creating a code that needs an image but i dont now how to get the source pls help

18th Mar 2023, 8:10 AM
Pelski Jason
Pelski Jason - avatar
2 Answers
+ 2
Use <a = href "https//add link " </a> add your link from gallery in this ". " Ok
18th Mar 2023, 8:23 AM
Super Kushwaha
Super Kushwaha - avatar
+ 1
There are 2 types of path: - relative (already on your pc/phone) - absolute (somewhere on internet so we use URL to link them) On sololearn we can only use absolute path. So if you try to link image here on sololearn, you need to upload it on internet. You can use cloud like dropbox for it. Please check codes bellow to learn how. But if you try to link image on your pc, you need to learn how relative path works. Best is to create project folder, and place all your project files and images inside it. Here is link to learn how to access images from your pc: https://www.grainge.org/pages/authoring/relative_paths/relative_paths.htm for image we use <img src="path" /> where path is your image source https://code.sololearn.com/WW6t4B73kJVz/?ref=app https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
18th Mar 2023, 10:06 AM
PanicS
PanicS - avatar