I know I am doing something stupid but for the life of me, I can't see what it is.
I have a div of letters for my first name sitting in a container. The idea is to 'mouseover' the letter and change the size of the character, though mouseover is not working. If I change the event to 'click' then it does work.
Why would 'mouseover' not be working but 'click' is?
Am I using the wrong event for hovering the mouse over the element?
document.getElementById('profile_name').addEventListener('mouseover', function(e) {
e.target.style.fontSize = '10px';
}, false);
<div class="profile_name_container">
<div id="profile_name">
<span class="letter">J</span>
<span class="letter">e</span>
<span class="letter">s</span>
<span class="letter">s</span>
<span class="letter">i</span>
<span class="letter">c</span>
<span class="letter">a</span>
<span class="letter">.</span>
<span class="letter">R</span>
<span class="letter">y</span>
<span class="letter">a</span>
<span class="letter">n</span>
</div>
</div>