I'm new to javascript and can't figure out why the following code isn't working:
var toChange = document.getElementById("greeting");
toChange.addEventListener("mouseOver", function() {
this.innerHTML = "Hi";
});
<p id="greeting">Hello.</p>
I've thoroughly researched event listeners, and I can't figure out why this code won't work. Thank you.