Age calculator app using HTML, CSS and JS
Design comparison
Solution retrospective
Hey there! I'm excited to share that I've completed the challenge, although it did take me a bit of time. I made some enhancements, including a feature that will greet you with a happy birthday if today's date matches your birthdate.
I tweaked the error message for the year input to be more user-friendly and set the starting year to 1700. Now, instead of saying "must be in the past," it simply states "must be a valid year." This adjustment covers a broader range, ensuring it works smoothly from the year 1700 and beyond.
What challenges did you encounter, and how did you overcome them?I have a hard time coming up with a solution for calculating the age.
What specific areas of your project would you like help with?I need someone to test if the app I made is working correctly.
Community feedback
- @OhSorrowPosted 9 months ago
Great job🎉
The "happy birthday" message and the singular forms of "year", "month", and so on were nice touches! I suggest you use
<input type="text" inputmode="numeric">
or<input type="number">
to make the user's keyboard numeric.Keep coding 🔥
0@chardlargodizimoPosted 9 months ago@OhSorrow Thank you for your suggestion!
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