Design comparison
Solution retrospective
Email validation
What specific areas of your project would you like help with?the email validation isn't working after multiple debugging it still doesn't toggle the error image inside the input and error messages it doesn't matter if i typed in a wrong or right email..it always validate it as true
Community feedback
- @kodan96Posted 6 months ago
hi there! ๐
both
.invalid
and#error-image
hasdisplay: none;
on them by default. by toggling the.hidden
class they still wont appear, because they will still havedisplay: none;
on their own selector.use the class-toggling to display the image and the message or remove
display: none;
from their own selectors, so the hidden class can actually toggle them.hope this helped ๐
Good luck and happy coding! ๐ช
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