JSFiddle - React, Tailwind, and code Playground

by riyadh

HTML

<html> 
<head> 
<script> 

function changeImage()
{
var img = document.getElementById("image");
img.src="";
return false;
}

</script>

</head>
<body>
<img id="image" src="https://cdn.shopify.com/s/files/1/0606/2893/files/Corridor7.jpg" />
<br><br><br>
<button onclick="changeImage();">Click to change image!</button>
</body>
</html>