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

React-hook-form, responsive, custom font, react JS

react, semantic-ui
Mr-Khaira•30
@Mr-Khaira
A solution to the Age calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am aiming to land an internship, and I want to be able to code with professional standards, hence I would focus on making my projects more like production code, the methodologies which currently, I am not aware of.

I will appreciate it, if you would find it in your heart to spare some of your precious time to provide me valuable guidance, on improvements, and how I may land my first job.

What challenges did you encounter, and how did you overcome them?

The complexities of the validation of the input fields, for instance to make up the logic for when to show "must be a valid day" or "day is required", was challenging but was solver by the use of "touched" method of the React-Hook_form lib.

I will appreciate it, if you would find it in your heart to spare some of your precious time to provide me valuable guidance, on improvements, and how I may land my first job.

What specific areas of your project would you like help with?

The core logic, that was to calculate the age up to the precision of day was quite complicated and cant be accurate because, the value for month is not a constant.

I will appreciate it, if you would find it in your heart to spare some of your precious time to provide me valuable guidance, on improvements, and how I may land my first job.

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 Mr-Khaira'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
  • Use cases

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