JSFiddle - React, Tailwind, and code Playground HTML <div id=test> <div></div> </div> JavaScript document.write(jQuery('#test > div').length);