Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 2 years ago

flexbox, DOM

AkamineFabio•220
@AkamineFabio
A solution to the Age calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


*Sorry for my bad english So, I compared my project with others AgeCalculators and there is a small difference in days. I know that my method is far from being the best, I searched for some tutorials to see the usual approach to this challenge, but I would like to try my own. The thing is, I don't know why there is a difference in 'days', maybe I'm missing something or I shouldn't use parseInt or I should use another thing. What am I missing, logic stuff, calc stuff? For mobile, I used position relative and absolute to put the button in the middle, but my values were insane, looks like I did something wrong, idk. Last thing, isn't :focus on input should be working? I put it but isn't working, my border-color keep the same.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on AkamineFabio's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License