JSFiddle - React, Tailwind, and code Playground

by mrobin

HTML

<input type="checkbox" />
<input type="checkbox" />
<input type="checkbox" />

JavaScript

$(':checkbox:not(:checked)').attr('value', false);