let email = document.getElementsByClassName("user-input__form-email")[0];
email.type = "email";
console.log("email " + email.value + " " + email.checkValidity());
if (email.checkValidity() === false) {
emailError.style.display = "block";
}
<input placeholder="Email Address" class="user-input__form-email">
For empty value for email input field, isn't checkValidity() should return false value ?