JSFiddle - React, Tailwind, and code Playground
by Nick Craver
HTML
<label><input type='checkbox' />Click here</label><br />
<span>Output</span>
JavaScript
$(function() {
$('input').click(function() {
$("span").append("<br />" + (this.checked ? "Checked" : "Uncecked"));
});
});