Design comparison
Community feedback
- @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(15/9/2000). The result displayed 25 years instead of simply 24 years.
1 - @MikDra1Posted 2 months ago
Well done,
One thing that could be improved is that when there is more then one year it is displayed 3year and it should be 3years. 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 ๐๐๐
1@Rahmonbek-0001Posted 2 months ago@MikDra1 I didn't know it was a bug in my old work, thanks for telling me, I'll try to fix it
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