Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 11 months ago

Responsive landing page using SASS mobile-first development

sass/scss
Eman-Mohamed•100
@emanmohamedsr
A solution to the Age calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

1- Implemented precise logic to calculate age in years, months, and days, handling edge cases.

2- Added robust input validation with real-time error messages.

3- Created a fully responsive layout using SASS mobile-first approach.

4- clean code structure and organized the project with modular Sass files

What challenges did you encounter, and how did you overcome them?

1- logic Implementation to calculate age in years, months, and days and take consideration of months with 30 and 31 days.

2- Test More Edge Cases: Expand testing to cover more edge cases, such as future dates and time zones.

3- take a long-time doing SASS as it is my first time with it :).

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 Eman-Mohamed'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