document.querySelector()
: returns first matching elementdocument.querySelectorAll()
: returns all matching elementsdocument.getElementById(id)
addEventListener(event, cb)
appendChild(node)
childNodes
classList
add(cl)
contains(cl)
toggle(cl)
remove(cl)
cloneNode(true)
closest(query)
getAttribute(att)
hasChildNodes()
matches(query)
nextSibling
parentNode
removeChild(child_node)
setAttribute(att, val)
document.createElement(tag_name)
document.addEventListener('DOMContentLoaded', cb)