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

Tip Calculator | React

Renzo 175

@renzo4web

Desktop design screenshot for the Tip calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi!! First app in react since I started studying this framework, I tried to divide all the calculator parts in reusable components, I think I overcomplicated using useReducer, useContext, but recently I saw a tutorial on how to apply a global state to a React app like Redux does, so try to give it a try.

Criticism and suggestions are welcome

Community feedback

T
Chamu 13,110

@ChamuMutezva

Posted

  • Error messages are not shown when incorrect data is entered.
  • reset button should be disabled when the bill and number of people is zero and less

Good work

1

Renzo 175

@renzo4web

Posted

@ChamuMutezva thanks for the review, you are right the button should be disabled.

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