JSFiddle - React, Tailwind, and code Playground

by jackdent

HTML

<div class="content"></div>

JavaScript

var text = 'Hello world';

$('.content').html('<div>' + text + '</div>');