JSFiddle - React, Tailwind, and code Playground

by kboucher

HTML

<div id="content"></div>

JavaScript

$( document ).ready( function () {
    var o = {};
    o.content = $( "<div></div>" )
        .addClass('test')
        .html( '<span>hello</span>' );
    
    // for testing
    $( '#content' ).append( o.content );
});