title: Finding which element is clicked in the DOM
body: <p>The question was asked to me in an interview.</p>
  
  <p>How to find which element is clicked by the user in the DOM using JQuery or Javascript or Both?</p>
  
  <p>NOTE: User can click on any element in the DOM whether it is an img, div or even span.</p>
  
  <p>If you can suggest some example then it will be very much helpful.</p>
  
  <p>Thanks in advance</p>