JSFiddle - React, Tailwind, and code Playground
by jackdent
HTML
<div class="content"></div>
JavaScript
var text = 'Hello world';
$('.content').html('<div>' + text + '</div>');
by jackdent
<div class="content"></div>
var text = 'Hello world';
$('.content').html('<div>' + text + '</div>');