JSFiddle - React, Tailwind, and code Playground

by Fabio Nelli

HTML

<p>Result will appear below with 1 sec delay</p>
<div id="demo"><p>This text will be replaced</p></div>

CSS

$fullred = #ff0000;
body {
	font-family: Helvetica, Verdana
}
p {
	padding: 7px 10px;
}
#demo { 
	border: 1px solid $fullred;
}

JavaScript

window.addEvent('domready', function() {
	new Request.HTML({
		url: '/gh/get/response.html/meccanismocomplesso/d3.examples/tree/master/',
		data: {'delay': 1},
		method: 'post',
		update: 'demo',
		onSuccess: function(response) {
			$('demo').highlight();
		}
	}).send();
})