Age Calculator with JS and DOM selectors

Solution retrospective
This is my first project using JavaScript. What took the most time was the implementation of the function to check all exceptions that could occur during calculations (such as a leap year, the current year, but the month or day is less, how many days are there in a month). I really enjoyed implementing this project.
I'm not really sure how well the DOM was implemented in this project, but since this was the first work using something other than HTML, SCSS I think it was a good result. Many design elements had to be modified, as I encountered some difficulties and could not figure out how to solve them.
If you have comments on the code, I will be happy to read them, because this will allow me to grow as a Frontend developer
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Asifp6021
you have nested if else conditions it is not good practice. you should have created a separate function and would have called it.
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