Project information
- Category: Web Application
- Project date: June 2021 - July 2021
- Project URL: Vending Machine
- Technologies Used:
-
HTML
JavaScript
3rd-Party Web API
BootStrap v4.5.0
The is a single-page web application that simulates a vending machine. The user can interact with the application by feeding in coins or bills at the top of the webpage, selecting a product, and making a purchase. If the transaction is successful, the user will be notified with a message and receive the correct amount of change in return, and the remaining quantity of items is updated.
The products available in the vending machine and their respective information are retrieved through calls to a third-party Web API provided by The Software Guild. The project uses JavaScript, jQuery 3.5.1 and AJAX to handle user inputs and interact with the API, making asynchronous requests and dynamically updating the page with JSON data received.
The project's interface features styling from BootStrap v4.5.0 framework.