title: Event listener - click and mouseover?
body: <p>So basically I am trying to put together some simple event listeners. I've added a button with the ID of "btn" in my HTML file, and basically I want to add a mouseover event, and a click event. I know how to do this, however I want to alert when each event occurs. Is there a way to neaten my code and put this all into one function instead of two? I'm just not sure how I would create two separate alert statements otherwise on the same button. Thanks!
  <a href="https://i.stack.imgur.com/naL6K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/naL6K.png" alt="enter image description here"></a></p>