Kimo Spark• 2,190
@kimodev1990
Posted
Really great work, Just a few feedbacks :
- If I don't enter an email or entered a wrong form of email in the input , Then you entered the right email , the label error doesn't disappears .
we could adjust in javascript :
btn.addEventListener('click', function(){
if (!email.value.match(/^[^\s@]+@[^\s@]+\.[^\s@]+$/)) {
retryMessage.classList.add('hidden')
errorIcon.classList.add('hidden')
}
else {
retryMessage.classList.remove('hidden')
errorIcon.classList.remove('hidden')
}
})
Hope you find this Helpful.
Other than that, Keep on the great work.
Marked as helpful
0