js find sibling with class code example Example: select sibling javascript let nextSibling = currentNode.nextElementSibling;