html run jquery code on dom code example Example: js document ready $( document ).ready(function() { console.log( "ready!" ); });