const showInputError = (formElement, inputElement) => {
const errorElement = formElement.querySelector(`#${inputElement.id}-error`);
inputElement.classList.add('form__input_type_error');
errorElement.textContent = inputElement.validationMessage;
errorElement.classList.add('form__input-error_active');
}