also, you should use `children` instead of `childNodes` here; this is more reliable as you only get elements and not text nodes or comments