document.querySelector('h1'); //basically the $ = document.querySelector() //below is the equivalent to above $('h1'); // by element $('.by-class'); $('#by-id');