Responsive newsletter signup page, using flexbox, scss and js

Solution retrospective
I would like to know if I'm handling the signup and signup properly, because currently, it's a single page and I hide one to display the other, and on submitting a form it normally reloads, I decided to preventDefault()
for that also.
Thank you for your time :))
Please log in to post a comment
Log in with GitHubCommunity feedback
- @chanwinharold
Great job!!
As feedback i advice you to use regExp for the email validation, it will improve the verification test (for example if you enter "test@mail" in you form, it won't display the error message while the point "test@mail.com" is missing). Also you should display the email value entered by the user in the popup text.
Marked as helpful
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