const input = document.querySelectorAll('.inputs__input')
const img = document.querySelectorAll('.inputs__img')
input.forEach((elem)=>{
elem.onchange = function handleChange(checkbox) {
for(let i = 0; i <input.length; i++){
if(input[i].checked == true){
img[i].style.display = 'block';
}else{
img[i].style.display = 'none';
}
}
}
})
Property 'spaceBetween' does not exist on type 'IntrinsicAttributes & RefAttributes & SwiperProps'.