JSFiddle - React, Tailwind, and code Playground

by mendesjuan

HTML

<input type='checkbox' class='checkbox' />

JavaScript

$('.checkbox').click(function(){
  console.log('click event, checkbox is checked ? ', this.checked);
});