Submitted
What are you most proud of, and what would you do differently next time?
- use React Hooks, useState and useEffect for state management and side effects.
- Date calculations and validations: Implemented complex date difference calculations and input validations.
What challenges did you encounter, and how did you overcome them?
During this project, I faced several challenges that helped me grow as a developer:
- Complex Date Calculations: Accurately calculating age differences, considering leap years and varying month lengths. Solution: I implemented a detailed algorithm that accounts for these variations
- State Management: Managing multiple interrelated states (day, month, year, errors, result). Solution: I used React's useState hook and created a useEffect to trigger calculations