document.querySelectorAll('.parent-class input, .parent-class select').forEach(element => { element.value = 0; })