https://youtu.be/Zgcd_jSjMYE?si=gkJxorr8osbPLtNG

Text<!-- The HTML Image Tag -->
<img id="myImage"
src="FIRSTIMAGE.png"
onclick="flashImage()"
style="cursor: pointer; width: 300px; height: auto;">
<script>
function flashImage() {
// 1. Get the image element
const img = document.getElementById("myImage");
// 2. Change to the second image
img.src = "SECOND
IMAGE.png";// 3. Wait 1000 milliseconds (1 second), then switch it back
setTimeout(function() {
img.src = "FIRST_IMAGE.png";
}, 1000);
}
</script>