addEventListener Passe o js
let test = document.getElementById("test");
test.addEventListener("mouseover", function( event ) {
alert("mouse over test!")
, false);
Jeff Spicoli