
Design comparison
SolutionDesign
Solution retrospective
Feedbacks will be appreciated :)
Please log in to post a comment
Log in with GitHubCommunity feedback
- @ShivangamSoni
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.
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