Skip to content

Instantly share code, notes, and snippets.

@Mayankgupta688
Created April 22, 2019 10:35
Show Gist options
  • Save Mayankgupta688/14ea94a25331539fff4463421c3ff60d to your computer and use it in GitHub Desktop.
Save Mayankgupta688/14ea94a25331539fff4463421c3ff60d to your computer and use it in GitHub Desktop.
document.getElementById("articleDiv").addEventListener("click", function(event) {
console.log("X Co-ordinates for Click Event: " + event.x)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment