Newsletter sign up and success message using Vanilla Javascript
Design comparison
Solution retrospective
I was able to solve the challenge based on the requirements.
However, next time I would like to use less of Javascript and rely on the CSS for better performance, simplicity, maintainability and CSS's declarative nature. (for instance check the email pattern using the pattern attribute of the input and rely on the in-built validation)
What challenges did you encounter, and how did you overcome them?The only challenge that I encountered was to decide if I should use Javascript or CSS to check the validity of the email. Ultimately, I decided to stick to the challenge's requirement. However, in real life, I would explain to the product owner, the technical advantages of relying on CSS, which could deviate a little from the original requirement.
What specific areas of your project would you like help with?What do you think about the accessibility aspect of my code? Please suggest improvements
Community feedback
- @najahajaPosted 3 months ago
Your newsletter subscription form is well-designed and user-friendly. The layout is clean, and the responsiveness works well across different devices. The inclusion of clear error messages and a success page enhances the user experience. Great job on the overall implementation!
1
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