//ignore this line for now $('document').ready(function(){ //select all the divs on the page $allOfTheDivs = $("div"); //select all the links on the page $allOfTheLinks = $("a"); });