addeventlistener hover js

JavaScript
let test = document.getElementById("test");

test.addEventListener("mouseover", function( event ) {
  alert("mouse over test!")
  , false);
Source

Also in JavaScript: