Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
I had a hard time calculating the age. At the beginning i converted the input into a Date object and used the raw data from Date(), but it didn't work, then tried getMonth(), getYear() and getDate() methods. It worked, but very hard, using conditional statements, then switched againg to Date() convertion and used mathematical approach. In the end of the day math knowledge is always helpful. :)
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