JSFiddle - React, Tailwind, and code Playground
by SullysRants
HTML
<input type="checkbox" name="MyCheckBox" id="MyCheckBox" />
<div id="ShowMeDIV" style="display: none;">
<p>Wow; it's just so simple!</p>
</div>
JavaScript
$('#MyCheckBox').click(function() {
if( $(this).is(':checked')) {
$("#ShowMeDIV").show();
} else {
$("#ShowMeDIV").hide();
}
});