Shivangam Soni• 880
@ShivangamSoni
Posted
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 as NaN
& your Alphanumeric Component Renders it as 000
.
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.
1