showCheckboxes('checkboxes1')) const sel2 = document.querySelector('#sel2') sel2.addEventListener('click', ()=>showCheckboxes('checkboxes2')) const sel3 = document.querySelector('#sel3') sel3.addEventListener('click', ()=>showCheckboxes('checkboxes3')) const sel4 = document.querySelector('#sel4') sel4.addEventListener('click', ()=>showCheckboxes('checkboxes4'))