JSFiddle - React, Tailwind, and code Playground
by sulfureous
HTML
<img id="aks" src="http://dummyimage.com/100x100/000/fff"/>
JavaScript
$('#aks').hover(
function(){
$(this).attr('src','http://dummyimage.com/100x100/eb00eb/fff')
},
function(){
$(this).attr('src','http://dummyimage.com/100x100/000/fff')
}
)