Age Calculator using Flexbox, Vanilla JavaScript, Semantic HTML

Please log in to post a comment
Log in with GitHubCommunity feedback
- P@felix-stuff
Hi @vladimir-semeryuk, first of all: great solution, I love the clean JS code and I must admit I needed to get some help on the calculation of months and days and had to steal your beautiful and easy calc function. I was getting really unnecessary complicated with that one.
One thing I was wondering about in your solution was that I could enter a date in the future and it'd say "-1 years". I don't know if you want to fix this, but I thought I'd point it out.
Besides that, thank you for your clean solution that inspires me to fix my own. :-)
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