Responsive Newsletter Signup Page with Email Validation[HTML, CSS, JS]

Solution retrospective
This is a re-upload of the solution I submitted a few days ago.
I have fixed the validation issue using the Validator npm package and now everything works as expected. This time, I used Vite to create the application and install all the necessary packages. It felt like a much better workflow compared to just writing HTML, CSS and JS inside an empty folder. This project is built using:
- HTML5
- CSS
- JS
- Vite
- Validator
Because of the library validation was not very hard to implement. But, the logic of toggling the container and the modal was a little confusing. I found it a little hard to decide between the usage of classList.add
and classList.remove
on clicking the button.
In the end, I figured it out.
What specific areas of your project would you like help with?Any suggestions are welcome!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Tharun Raj's solution.
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