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

Age Calculator using TailwindCSS and GSAP

Abiel Ortegaā€¢ 40

@Abiel101

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


Hardest part of this challenge for me was finding a way to display the correct number of days between the current date and the user input date. I kept getting negative numbers but luckily, I was able to find good solution for it with the help of others.

I feel like my JavaScript is super messy so any feedback on how I can better organize my code would definitely help.

Community feedback

Aimal Khanā€¢ 2,260

@Aimal-125

Posted

In your CSS code, give body element height of 120 or 150vh by using media query with max-height: 400px; so that your solution looks good on screens with small heights.

Marked as helpful

0

Abiel Ortegaā€¢ 40

@Abiel101

Posted

Thank you @Aimal-125 I will do that!

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