User:FenrisAureus/sandbox.js

const element = document.querySelector(".userlink");

element.addEventListener("mouseover", event => { console.log("Mouse in"); });

element.addEventListener("mouseout", event => { console.log("Mouse out"); });