JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/jquery-1.6b1.js"></script>
<input type="checkbox"/>
<b id="info">Here will be info.</b>
JavaScript
$("input[type=checkbox]").click(function(){
$("#info").text("Checkbox is now "+
($(this).attr("checked") ? "checked" : "unchecked"));
});