JSFiddle - React, Tailwind, and code Playground JavaScript var txt = "some text"; $('body').append(txt);