Design comparison
SolutionDesign
Solution retrospective
Feedbacks will be appreciated :)
Community feedback
- @ShivangamSoniPosted over 1 year ago
Currently, Your project doesn't really work because you are using the wrong format while passing the date to
new Date()
hence, the app calculates the answer asNaN
& your Alphanumeric Component Renders it as000
.Look at these for more info:
You need the Following Change:
const dob = new Date(`${year}-${month}-${day}`); // Age.tsx Line #21
Also, the Arrow Icon is supposed to be the Submit button.
2
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