JSFiddle - React, Tailwind, and code Playground
by itamark
HTML
<input type="checkbox" name"myCheck" id="chk1"/>Checkbox</label>
JavaScript
// Check
$(':checkbox').hover(function(){
if($(this).not(':checked')) {
$(this).attr('checked', true);
}
else if($(this).is(':checked')){
$(this).attr('checked', false);
}
})