+ 4
i can not insert image please help me!!! where has gotten wrong in my code
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
+ 4
thanks a lot đ