JSFiddle - React, Tailwind, and code Playground

by Ronny

HTML

<input type="checkbox">

JavaScript

$('input').click(function(){
    console.log(this.checked);
});