Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Age Calculator App - HTML CSS & JavaScript

P
Jacksen•350
@jacksen30
A solution to the Age calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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 /> 💻

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Jacksen'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License