Design comparison
Community feedback
- @deeolaPosted over 3 years ago
Hello THB-02,
Your design looks super good and clean. I just want to point you to the email section of the form. I think it'll be really cool if you can add another statement that decides if the mail is valid or not and a statement to check if it is empty just like the others. Your email section ticks okay even if i type 'ssQs@ddd' without the '.com' and i believe it should read 'Looks like this is not an email' instead.
you can add a statement to check if the mail section is empty, another one to check if it's invalid.
something like:
if(mailValue===''){
} else if (!isEmail(emailValue)){
} else{
}
I believe that's just the minor change, other than that, you're on point.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord