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
Request path contains unescaped characters
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Age calculator app

@er1927

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


Hi, there! I struggled big time with form validation, and decided to ship it as is today and continue working on it next week (my day job awaits, and it doesn't like to be kept waiting). Nothing I did on HTML worked (including tags I already deleted, like maxlength). It's my understanding I should try and address through JavaScript next, just writing out specific functions for each calculation (year, month, day). Would I be on the right track attempting this? Thanks for reading!

Community feedback

@paulpessoa

Posted

Good job Eliz!!

You can remove the "spinners" in the input> using this code:

 input[type=number]::-webkit-inner-spin-button {
        -webkit-appearance: none;
      }

and centralize the input content or add the font weight:

text-align: center;
font-weight: 800;

Very opportune to add your signature in the footer of the project.

You could add target="_blank" in the links <a>, to keep the user in your application and just open in a new tab

Marked as helpful

0

@er1927

Posted

Thanks, Paul!

0

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