JSFiddle - React, Tailwind, and code Playground

HTML

Check me out !
<br><br>
<input type="checkbox" id="test" />

CSS

#test {left: 30px; position: relative;}

JavaScript

$("#test").on('change', function() {
    this.checked=!this.checked?!confirm('Really uncheck this one ?'):true;
});