<div class="product-image-wrapper">
<div class="product-image" onmouseout="alert(2)"></div>
</div>
<script>
let a = document.querySelector(".product-image-wrapper .product-image");
console.log(a);
a.onmouseout = function(event){
alert(1);
}
</script>