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 App with Alpine.js and Tailwind.css

#accessibility#tailwind-css
Wendy• 1,670

@wendyhamel

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


Working with dates.... The leap years make it hard. I ended up with a lot of javascript. Got tired of it and dicided to leave it at this. I know, I should clean up my functions. But in a real project I would never do this with JS. I would handle it with PHP. The struggle was worth it though. I am happy with the accurate results it gives, including the leap years.

Community feedback

Wendy• 1,670

@wendyhamel

Posted

I could not leave it... Cleaned up the js. Now it is accurate and easier to read the code.

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