let answersList = document.querySelectorAll('.answer-input');
answersList.forEach(element => {
if (!element.closest('label').classList.contains('checked') && element.checked) element.closest('label').classList.add('checked');
else element.closest('label').classList.remove('checked');
});