Document Ready
Run code after the DOM is ready.
Example
$(document).ready(function () {
console.log("ready");
});
$(function () {
console.log("short form");
});Exercise
Ready event.
$(document).(fn);
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.