title: How can I get the coordinates of my mouse?
body: <p>I'm writing a script that will repeatedly write my mouse coordinates to an element as I navigate with it. But I'm not sure how to detect information from the mouse. Some one wanna point me in the right direction?</p>
  
  <p><code>document.getElementById("coords").innerHTML = crdX + ", " + crdY</code></p>
  
  <p><a href="http://jsfiddle.net/7pj9gpvn/" rel="nofollow">http://jsfiddle.net/7pj9gpvn/</a></p>
  
  <p>EDIT: My question is not a duplicate of the proposed question because the proposed question is concerned with the loop aspect of the same problem, whereas mine is concerned with the 'event handling' aspect. I did read and attempt to ascertain the information I needed from that question, but as I am a beginner, I found their code difficult to read.</p>