Age-calculator-challenge

Please log in to post a comment
Log in with GitHubCommunity feedback
- @daniel-web-developer
Nice one, but I have a couple of suggestions.
The first suggestion is to add this to the button:
cursor: pointer; }
It'll transform the cursor from an arrow into that "pointing hand". I think it looks better when it's a button.
The second suggestion would be to add a JavaScript library to calculate the date for you. I used Datejs. I'm saying this because I've tried using the calculator but it didn't work entirely (I tried '1' in every field and it returned the wrong results). I know it's a really hard algorithm to think by yourself and that's why I used the library.
Lastly, nice job! Your project looks a lot like the design.
Marked as helpful - @lack21
Great job 👍, but I have a suggestion!
- Add this to the CSS
* { margin: 0; }
this should remove all unnecessary space!
Marked as helpful
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