Are there other DOM methods/properties I should be familiar with?


#1

Question

Are there other DOM methods/properties I should be familiar with?

Answer

There are a ton of DOM methods/properties to check out and play around with including ones you may be more familiar with like:
.innerHTML
.querySelector()
.getElementById()
.style
.createElement()
.appendChild()
.removeChild()
.hidden
.onclick
.parentNode
.children
and .firstChild

Other important DOM methods/properties you may see and use often are:
.querySelectorAll()
.getElementsByTagName()
.getElementsByClassName()
.getAttribute()
.setAttribute()
.addEventListener()
.removeChild()
.replaceChild()
…among others!