Cash Register is a efficient tool that takes two input, Bill Amount and Cash Given. It the quickly calculates the amount to be returned in minimum number of cash notes available in the inventory.
- HTML.
- CSS.
- Vanilla JavaScript.
Brief: In this application, I have took data from input boxes and using querySelectors I have stored them in variables. I have used a Button and added event listeners on click function. And used an errorHandler incase user inputs negative value. All the computations are done once the event calls the function.
The next input options are available only when first one is filled.
I love building things, it does not matter whether the application is small or huge. So if you are new to this technology and eager to learn, we can go ahead and develop more features in the application.