Section 1 - Selectors
Selectors
Invoke jquery function -> $()
Takes a selector
$('selector')
Work like css elements
. for class
for id, etc
classList element 4
Specify selectors further by chaining selectors.
List element 1
List element 2
List element 3
List element 4
List element 5
List element 1
List element 2
List element 3
List element 4
List element 5
Selectors by the attribute tag directly:
Also have the option of specifying attribute tags like this
Selectors as inverses
Shortcuts: selecting all children of a selector
List element 1
List element 2
Paragraph text 1
Paragraph text 2
List element 3
List element 4
List element 5
Last updated
Was this helpful?