JSFiddle - React, Tailwind, and code Playground HTML <div id='foo'>Foo</div> JavaScript $('<div>bar</div>').css({color:'red'}).appendTo('#foo');