My journal for Code Fellows
this.
is used to reference the properties of the current object it is ingetElementById()
- selecting individual node by idquerySelector()
- use a CSS selector and return first matchgetElementByClassName()
- selects all elements with that class attributegetElementsByTagName()
- selects all with the specified tagquerySelectorAll()
- selects all CSS with the specified selectorparentNode
selects the parent node to the node currently inpreviousSibling
and nextSibling
return the previous or next nodefirstChild
and lastChild
return the first or last node of the current element