@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...