$("element").on("click", function (){})
// element = html element and rest you can change to your liking
document.querySelector('h1');
//basically the $ = document.querySelector()
//below is the equivalent to above
$('h1'); // by element
$('.by-class');
$('#by-id');