Boîte à cocher js clickable

<input id="check" type="checkbox" />
  <button onclick="document.getElementById('check').click();">
    Click the Checkbox!
  </button>
Gorgeous Goldfinch