JSFiddle - React, Tailwind, and code Playground HTML <div>hello</div> <div>test</div> JavaScript alert($("div:eq(1)").text());