Source Code:
(back to article)
Submit
Result:
Report an issue
<p id="mouseoverText">Hover over me!</p> <script> document.getElementById("mouseoverText").addEventListener("mouseover", function () { this.style.color = "red"; }); </script>