Accessible Contact Form (Vite, Typescript, Zod)

Solution retrospective
I liked working with Zod which allows me to have more specific error messages with a simple syntax.
I'm happy about how I used a dialog element for the form submit confirmation message. What do you think about it?
What challenges did you encounter, and how did you overcome them?I had quite some troubles with the form validation logic and specifically with the typescript types. There should be some easier way to do this.
What specific areas of your project would you like help with?I'd like suggestions on code organisation. I try to divide the code in different modules to reduce the number of functions in each files. I'm open to any suggestions.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Gwenaël Magnenat'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