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

Interactive Tip calculator using ReactJS

Madhavan 340

@madhavan-ts

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


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

Can anybody tell me that how can I make the form validation more easy and is this the right way to do the form validation?

Community feedback

@adiborse111

Posted

Everything looks fine except for the reset part where it put the value inside the input as 0... you should set the value there to null or something like setBill(' ') this will remove any value from the input element and show the placeholder... and a friendly advice try to divide your page into multiple components instead of putting everything into one jsx file... it helps in maintaining the code and makes it easy to read later...

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