Aici e captura de ecran și codul. Si cum pot schimba cu ceva de genul "Această pagină a spune" atunci alert().
<button id="hover-me"> Move the cursor over here </button>
document.getElementById("hover-me").onmouseover = function() {
alert("You hovered me")};