I have a ul element with many li items:
...
when the user hovers their mouse over an l
You can declare the handler function so that it pays attention to the event argument, and then check the type.