This overview is handy towards stepping back and forth between jQuery and JavaScript. First line is jQuery and the following line is the corresponding function in JavaScript. jQuery $(document).ready(function() { // code… }); JavaScript document.addEventListener(“DOMContentLoaded”, function() { // code… }); jQuery var divs = $(“div”); JavaScript var divs = document.querySelectorAll(“div”); jQuery var newDiv = $(“<div/>”);