It doesn't make a lot of sense to mix the use of childNodes and children. Timeouts .children() can time out waiting for the element(s) to exist in the DOM. By clicking Post Your Answer, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct. This selector works in the same way as using How does this compare to other highly-active people in recorded history? We used the :scope pseudo-class to select the