Design comparison
Solution retrospective
Hey Everyone,
I hope you're all having an amazing week so far !
I really enjoyed this project. It was a good chance to use quite a bit of JavaScript code. The function in relation to calculating the users age took quite a bit of time due to I kept thinking of ways to improve it or realising certain edge cases or calculation flow / ordering of code was causing issues.
I didn't use a form and submit button on this one as I think the user experience is more seamless to just conduct validation of input with an event listener for user input, and if valid provide the output of the calculation and if not valid provide an instant error message / hint to the user.
I would really appreciate any constructive feedback you may have 🙂
Happy <coding /> 💻
Community feedback
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