Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

Age calculator

Elisabeth Erkekoglou•180
@elic4vet
A solution to the Age calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


Hello hackers,

This is my solution to the age calculator challenge.

I have the following issues, if i click submit when the input forms are empty, I see the error message and then if I add some values in the input and reclick submit the app calculates a false date. I tried to understand why does it happen but I still can't get it.

Then I saw that the app works one time then I have to refresh the page again to make it work. I suppose that I need to use a load or ready function?

Any suggestions, tips are really welcome

Thanks in advance :) Kind regards Eli

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 Elisabeth Erkekoglou'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
Frontend Mentor logo

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