A JavaScript-based cash register application that calculates change using real currency denominations. This project focuses on algorithmic problem‑solving, clean logic, and practical UI structure.
The Cash Register project simulates how a real cash drawer returns change based on the purchase price, cash provided, and the available money in the drawer. It determines:
-
Whether exact change can be returned
-
How much change to give back
-
Which denominations to use
-
Whether the drawer should remain open or close
This project helped strengthen my understanding of JavaScript logic, arrays, objects, and conditional flow.
-
Calculates change using real U.S. currency denominations
-
Determines drawer status: "OPEN", "CLOSED", or "INSUFFICIENT_FUNDS"
-
Clean, readable JavaScript logic
-
Simple UI for entering purchase amount and cash provided
-
Responsive layout
-
Realistic cash drawer simulation
-
HTML5
-
CSS3
-
JavaScript (ES6+)
View the project here: https://romie321.github.io/Register/
Clone the repository:
bash git clone https://github.com/Romie321/Register.git Open the project folder.
Open index.html in your browser.
-
Add animations or transitions
-
Improve UI styling
-
Add error messages for invalid inputs
-
Add a breakdown showing how change was calculated
-
Add unit tests for the change‑calculation function
Ramiro Aguilera
Software & Web Developer
Always learning, always building.