
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
New things I learnt (js):
- Add or remove HTML class using JavaScript
- Construct date(s) from user input
- Modify date(s) by setting the year, month, and day
- Comparing dates
- Calculate differences between two dates (results in milliseconds)
Had difficulty handling error when birth year is the same as current year, but the birthday haven't passed yet (should trigger error "Must be in the past") --> Solved by comparing the dates
What specific areas of your project would you like help with?Any help is welcome!
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