i can not insert image please help me!!! where has gotten wrong in my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

i can not insert image please help me!!! where has gotten wrong in my code

https://code.sololearn.com/W59L4mbyYO54/?ref=app

28th Jun 2023, 3:20 AM
Programmer
Programmer - avatar
2 Answers
+ 9
Programmer It looks like there are a couple of issues with your code. #First, you are assigning the image URL to the 'img' variable incorrectly. Instead of using img = 'https://pixabay.com/photos/sea-turtle -diving-animal-2361247/'. you should use.... img.src = 'https://pixabay.com/photos/sea -turtle-diving-animal-2361247/'. #Second, the image path URL are incorrect.. See this code... https://code.sololearn.com/W117kUPXMU65/?ref=app Watch this.. How to host/upload an image https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app How to host/upload an image with Dropbox https://code.sololearn.com/WW6t4B73kJVz/?ref=app more about images: https://code.sololearn.com/WT3661NHpV3B/?ref=app
28th Jun 2023, 5:43 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 4
thanks a lot 😊
28th Jun 2023, 5:56 AM
Programmer
Programmer - avatar