Mobile First, SASS

Solution retrospective
Hello 👋,
As for feedback:
- Should i add
transition
in the error text? Since i use displaynone
and changed it toblock
i was unable to add animation. The reason for that is that if i choose to hide it withopacity
i ended up having a small gap since the element was still there and it messed up the spacing between the input 😓. Maybe there's an alternative to this?
Aside from that i need to learn more about handling inputs on JS.
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@palgramming
The main thing I see is since you are doing your own EMAIL validation you need to change the email input to just a plain text input so the browser validation does not pop up at the same time your error state changes
Join 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