Design comparison
Community feedback
- @MikDra1Posted 2 months ago
Well done,
One thing that could be improved is that when there is one year it is displayed 1years and it should be 1year. The same applies to months and days. Try to sort out this problem with template literal and ternery operator ๐.
Hope you found this comment helpful ๐๐๐
Good job and keep going ๐๐๐
Marked as helpful0 - @Mahmoud-ElagamyPosted 2 months ago
Hi there,
I've been using your calculator app, I did encounter a small issue that I thought you might want to know about.
I recently used the calculator to determine my age by entering today's date as my birthday(21/9/2000). The result displayed 23 years , and11 months instead of simply 24 years.
0@alanb4rtPosted 2 months agoYep you're right. I will fix it next time Thanks @Mahmoud-ElAgamy
0
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