Design comparison
Solution retrospective
Let me know if there are any areas that I can improve especially in HTML and Javascript.
Community feedback
- @AyoubrabiaePosted about 1 year ago
I've reviewed the preview and your code, and I must say you're doing quite well. However, I've noticed some minor issues that need to be addressed.
Firstly, when I input an incorrect year, it always displays the error message, "You must be in the past." This could be problematic because if I input a date like 100 in years, it would still show the same error message! 😅
Secondly, I've noticed that there's a small issue in your code that allows us to calculate the date for the current day. The result in this case shows as "0 years, 0 days, 0 months." This should probably be fixed as well.
Marked as helpful0@mryjybrciaPosted about 1 year ago@Ayoubrabiae Thank you for your feedback! I'll review the codes again and will take your comments as pointers. 😊
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