jQuery Library
You have a couple options when it comes to the library.
jQuery Syntax
jQuery syntax are the key characters that allows the scripts to perform the various actions it does.
- - The (selector) is used to target a specific HTML element
- - The "$" is used to define something and start up jQuery for your scripts
- - The action() tells the targeted HTML element what to do with itself
Document Ready Event
Some on-load jQuery events have the chance of occuring before the site has fully loaded so you could miss something, thats why
it's good to start with a document ready statement.
A document ready funtion would be typed like so: $(document).ready(function(){ });
This is a simple document ready statement in action, This should help you start determining the use of basic syntax.