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

Responsive age calculator app

Ermiyas Tilahun•60
@Erma-T
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?

The thing I am proud of the most is keeping myself still in the challenge :)

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

No challenge.

What specific areas of your project would you like help with?

Still, i have some difficulties in CSS.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Grace•32,130
    @grace-snow
    Posted 12 months ago

    I think I keep leaving you the same kind of feedback. I can't stress enough how important it is you learn html to a higher standard. This is inaccessible. Think through the html carefully.

    For example

    • how should forms be structured?
    • how should inputs be labelled?
    • how should a group of inputs be labelled for the group?
    • how can icon buttons have an accessible name?
    • how should errors be programmatically linked to their inputs?
    • how should results be announced to screen readers?
    • when should heading elements be used and at what level?
    • what are the appropriate meaningful elements for the content? (Always a separate consideration to the styled design).

    And then back to the css fundamentals...

    • why do css resets matter and what ones would be appropriate to use?
    • what's the most performant way to load fonts?
    • when to use width vs max width, or rem vs px...
    • what's the appropriate unit for font size? And line height? Letter spacing? Etc.
    • what are the alternatives to margin when needing space between flex items?
    • what's the impact of having no borders at all on buttons for high contrast mode?
    • why do focus visible styles matter so much and what should they look like?
    • why should we build mobile first?
    • how should media queries be defined and how should we choose appropriate values for them?

    I know you've had a lot of this kind of feedback already, so I am switching tactic now. No more answers or lists of corrections. Apply what you've learnt already and look up the rest.

    Marked as helpful
  • Sameer Mandve•350
    @sameermandve
    Posted 12 months ago

    Your site is giving my age one month in the future. I think you didn't add + 1 in month while subtracting present month and birth month.

    Marked as helpful

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
Frontend Mentor logo

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

Frontend Mentor

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

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

How does the accessibility report work?

When a solution is submitted, we use axe-core to run an automated audit of your code.

This picks out common accessibility issues like not using semantic HTML and not having proper heading hierarchies, among others.

This automated audit is fairly surface level, so we encourage to you review the project and code in more detail with accessibility best practices in mind.

How does the CSS report work?

When a solution is submitted, we use stylelint to run an automated check on the CSS code.

We've added some of our own linting rules based on recommended best practices. These rules are prefixed with frontend-mentor/ which you'll see at the top of each issue in the report.

The report will audit 1st-party linked stylesheets, and styles within <style> tags.

How does the HTML validation report work?

When a solution is submitted, we use html-validate to run an automated check on the HTML code.

The report picks out common HTML issues such as not using headings within section elements and incorrect nesting of elements, among others.

Note that the report can pick up “invalid” attributes, which some frameworks automatically add to the HTML. These attributes are crucial for how the frameworks function, although they’re technically not valid HTML. As such, some projects can show up with many HTML validation errors, which are benign and are a necessary part of the framework.

Frontend Mentor for Teams

Frontend Mentor for Teams helps companies and schools onboard and train developers through project-based learning. Our industry-standard projects give developers hands-on experience tackling real coding problems, helping them master their craft.

If you work in a company or are a student in a coding school, feel free to share Frontend Mentor for Teams with your manager or instructor, as they may use it to help with your coding education.

Learn more

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub