How jQuery Works | jQuery Learning Center

PHOTO EMBED

Sat May 29 2021 00:24:06 GMT+0000 (Coordinated Universal Time)

Saved by @ejiwen

$( document ).ready(function() {
 
    // Your code here.
 
});
content_copyCOPY

run code as soon as the document is ready to be manipulated.The jQuery library exposes its methods and properties via two properties of the window object called jQuery and $.

https://learn.jquery.com/about-jquery/how-jquery-works/