JSFiddle - React, Tailwind, and code Playground
by doug65536
HTML
<div id="container"></div>
JavaScript
$(function () {
"use strict";
function lotus_crazy_task(s) {
debugger;
var p = $('<p>');
var i, k;
for (i = 0; i < s.length; ++i) {
p.append($('<span>').css({display: 'none'}).text(s[i]));
for (k = 0; k < Math.random() * 8; ++k) {
p.append($('<span>').text('x'));
}
}
$('#container').append(p);
}
lotus_crazy_task("Happy");
});