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

Vite React Age Calculator

@Chaffexd

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


The on thing I would personally love feedback on is the form validation, this is something that actually made this project incredibly hard. I wanted to take the approach of validating live as it happened to receive instant feedback but honestly backed out of it as I couldn't get it to work.

Instead, I opted for feedback when you try to submit which is also a fair approach to forms.

I made the project with useContext to practice using another hook despite it being simple to pass props down. I was also considering useReducer instead of managing so much state.

Community feedback

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