JSFiddle - React, Tailwind, and code Playground

HTML

<input type="checkbox" name="mycheckboxes">
<input type="checkbox" name="mycheckboxes">
<input type="checkbox" name="mycheckboxes">
<input type="checkbox" name="mycheckboxes">

<div id="showme" style="display: none">Show me</div>

JavaScript

var MyCheckboxes=$("input[name='mycheckboxes']");

MyCheckboxes.change(function() {
  $("#showme").toggle(MyCheckboxes.is(":checked"));
});