I have been trying to change image on hover. But it is some how not working
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".card .image-container").mouseover(function () {
$(this).attr('src', $(this).data("hover"));
}).mouseout(function () {
$(this).attr('src', $(this).data("src"));
});
)};
</script>
<div class="card col-xs-2" style="margin-top:33%;padding:0 2% 2% 2%">
<img
src="img/2013-1.png"
data-src="img/2013-1.png"
data-hover="img/2013-2.png"
class="image-container"
alt=""
style="max-width: 100%;max-height: 100%;width: 100%;height: 100%"
/>