Query .children()Demonstrates getting direct child elements with optional filtering using .children()query-childrencomponentQuerypage.jsDOM Traversalchildren() only returns direct children, not all descendants["query","dom","children","selector","traverse"].children()Example