Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muhammad-sefat/calculator_app
This calculator app is a simple, interactive web-based calculator designed to perform basic arithmetic operations. Users can input numbers, select operators, and perform calculations using an intuitive button interface.
https://github.com/muhammad-sefat/calculator_app
css html javascript
Last synced: 8 days ago
JSON representation
This calculator app is a simple, interactive web-based calculator designed to perform basic arithmetic operations. Users can input numbers, select operators, and perform calculations using an intuitive button interface.
- Host: GitHub
- URL: https://github.com/muhammad-sefat/calculator_app
- Owner: Muhammad-sefat
- Created: 2024-08-11T02:32:36.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-11T05:08:48.000Z (6 months ago)
- Last Synced: 2024-11-17T19:43:26.570Z (2 months ago)
- Topics: css, html, javascript
- Language: JavaScript
- Homepage: https://calculator-app-five-ochre.vercel.app
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
This calculator app is a simple, interactive web-based calculator designed to perform basic arithmetic operations. Users can input numbers, select operators, and perform calculations using an intuitive button interface.### Key Features
- Users can input numbers by clicking on numeric buttons (0-9).
Supports decimal input with a dedicated decimal button.- Supports four basic arithmetic operations: addition (+), subtraction (-), multiplication (*), and division (/).
Users can select an operation by clicking the respective operator button.- Users can obtain the result of the calculation by clicking the equals (=) button.
The app displays the result on the screen.- A clear button (C) resets the calculator, clearing all current inputs and operations.
- A delete button (⌫) allows users to remove the last digit or character from the current input.
- The display updates in real-time to show the current input, selected operation, and previous operand.
After performing a calculation, the result is shown, and the calculator is ready for a new operation.- Includes basic error handling, such as detecting division by zero and displaying an error message.
User Interaction.- Click number buttons to build the current operand.
Use the decimal button to add a decimal point to the current operand.- Click one of the operator buttons to choose an arithmetic operation.
The selected operation is shown on the display along with the current input.- Click the equals button to perform the calculation using the current and previous operand with the selected operation.
The result is displayed on the screen.- Use the clear button to reset everything. Use the delete button to remove the last digit or clear the current input if no operand is present.
#### Live Link : https://calculator-app-five-ochre.vercel.app/