JSFiddle - React, Tailwind, and code Playground
by BinaryAcid
HTML
<script src="http://beebole.com/pure_git/libs/pure.js"></script>
<input type="button" value="increment" id="increment">
<p>Item: <span id="item" class="item"></span></p>
<p>Count: <span id="count" class="count"></span></p>
<p>Group: <span id="group" class="group"></span></p>
JavaScript
// Retrieves json and displays it via http://beebole.com/pure/
$.getJSON('http://arbitrarycounter.com/vb/truthsponsors/chm/', function(data) {
$('#item').autoRender(data);
$('#count').autoRender(data);
$('#group').autoRender(data);
});
// Increments via jquery post and http://arbitrarycounter.com/
$("#increment").click(function(){
$.post("http://arbitrarycounter.com/vb/truthsponsors/chm+");
});
// Click increment and then hit the run button again to see the update.