Is there any way to make the src attribute of document.createElement accept a variable?
I want to create a modal which pops up when an image is clicked and the image