// Don't use JQuery it's old, use a better framework, or only vanilla javascript
// but still if you want to learn it, follow me
// https://learn.jquery.com/
// it looks like
$( "p" ).click(function() {
console.log( "You clicked a paragraph!" );
});