Javascript points to ponder

From Code Trash
Jump to: navigation, search

Siblings or Adjacent elements

nextSibling

nextElementSibling

previousSibling

previousElementSibling

firstChild

firstElementChild

lastChild

LastElementChild

Reference https://www.w3schools.com/jsref/prop_node_nextsibling.asp