0
Why doesn't my code work?
I am stranded in a code with jquery. I am creating an <img> element and then giving it an attribute using attr () but it doesn't work for me. https://code.sololearn.com/WEEP1ccuEfKw/?ref=app
2 Answers
+ 2
Use img.attr() instead of $("img").attr()
0
Thank you