const removeErrors = function() {
const errors = form.querySelectorAll('.errors');
console.log(errors);
for (let i = 0; i < errors.length; i++) {
errors[i].remove();
}
}
const errors = form.querySelectorAll('.error');
const errors = form.querySelectorAll('.form__error');