JSFiddle - React, Tailwind, and code Playground

by Thomas Upton

HTML

<div>
  <label>
    <input type="checkbox" name="thing1" />
    I understand
  </label>
</div>

<div>
  <input type="checkbox" name="thing2">
  <label for="thing2">I also understand</label>
</div>