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