+ 2
To do something with pictures, you can use onclick attribute. For example, <img onclick = "f1()"> or u can add event listener to it like,
const a = document.getElementById("i1")
a.addEventListener("click",()=>{
// Anything you want to do on click to image
})