how to get sibling with js code example Example: select sibling javascript let nextSibling = currentNode.nextElementSibling;