JSFiddle - React, Tailwind, and code Playground HTML <input type='text' id='a'/> JavaScript alert( $("#a").is(":visible") )