นี่คือภาพหน้าจอที่จับได้และเป็นรหัสมอส แล้วฉันต้องเปลี่ยนแปลงมันจะบางอย่างเหมือน"หน้านี้บอกว่า"แล้วเตือน().
<button id="hover-me"> Move the cursor over here </button>
document.getElementById("hover-me").onmouseover = function() {
alert("You hovered me")};