It is necessary that when one checkbox is in the checked state, the other three are in the same condition as the first.
var uhChbox = document.getElementById('uh-burger'); var otherChbox = $('.oth-check'); function btnsFun() { if (uhChbox.checked) { otherChbox.checked; } else { otherChbox.checked = false; } } How to do it right?