Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive Age Calculator with HTML CSS and Javascript

@kevinebenhezer

Desktop design screenshot for the Age calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


This challenge making me overwhelmed and twisted my brain. Because of the preventDefault() method keeps giving me error. If i put either between only day or month, the error message works perfectly, and its not submitted. But if i only put the year, well the error message shows up, but it gets submitted by itself, even though i put the preventDefault() method. Can someone help me why my preventDefault not working? Thanks in advance.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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