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
- @adiborse111Posted 3 months ago
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 GitHubJoin 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