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

Age calculator using HTML, CSSand Javascript

@Aaryan-Urunkar

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 project was an oppourtunity to familiarize myself with JS. Initially it seemed like a daunting task but finally I managed to pin it down and complete it.

My only hurdle which I can't think to clear is that how do I keep the textboxes horizontally aligned when I make the error text appear. Whenever there is an error(basically incorrect input), the particular textbox under which the error text is supposed to appear seems to get lifted from its position. How do I correct this? Thankyou.

Community feedback

@veronikahola

Posted

Hi :) you can keep the textboxes aligned by setting position:absolute to the error message, I did it this way in my code, feel free to check it out

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