JSFiddle - React, Tailwind, and code Playground
HTML
<div class="answer" id="yesOptions">
<input type="checkbox" />
<input type="checkbox" />
<input type="checkbox" />
<input type="checkbox" />
<input type="checkbox" />
</div>
JavaScript
if (!$("[type='checkbox']", "#yesOptions").is(':checked')) alert('At least 1 checkbox must be checked from this div!');