Intro Component With Signup Form

Please log in to post a comment
Log in with GitHubCommunity feedback
- @BuildAndBreak
Hi, you've built a solid foundation for form validation, and with a few small tweaks, it'll be even more user-friendly.
Try to improve this:
-Form is never submitted – The submit event calls e.preventDefault(), but there’s no condition to allow submission when all inputs are valid.
-Validation of all fields before preventing submission: validateInput(input) should be called for all fields at the same time, displaying all errors.
Keep up the excellent work!
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