+ 2
How can i fetch the src value of an image that has been clicked using javascript
2 Answers
+ 2
Go to google, then search a image and copy the link from the search bar. And paste it as a value of src.
example: I copied a image link from google â https://blob.sololearn.com/avatars/sololearn.png
<img src="https://blob.sololearn.com/avatars/sololearn.png">