Skip to content

Instantly share code, notes, and snippets.

@gilbertoquinteroA
Created July 23, 2018 21:22
Show Gist options
  • Save gilbertoquinteroA/d39269c2276ebc6aed966e45de8ee53b to your computer and use it in GitHub Desktop.
Save gilbertoquinteroA/d39269c2276ebc6aed966e45de8ee53b to your computer and use it in GitHub Desktop.
// When any <p> tag is clicked, we expect to see '<p> was clicked' in the console.
$( "p" ).on( "click", function() {
console.log( "<p> was clicked" );
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment