const images = document.querySelectorAll("img"); images.forEach((img, index) => { let htmlCode = "