This project is a simple iPhone-style calculator built using HTML, CSS, and JavaScript. The calculator performs basic arithmetic operations such as addition, subtraction, multiplication, and division, as well as additional functions like percentage calculation, clearing the screen, and deleting the last entered digit.
- Addition, subtraction, multiplication, and division operations
- Percentage calculation feature
- Clear the screen completely (
AC
) - Delete the last entered digit (
⌫
) - iPhone-style user interface
You can install the project by cloning it to your computer or downloading the zip file.
-
Clone this project or download the zip file:
git clone https://github.com/dusova/iphone-calculator.git
-
Open the files and run the
index.html
file in your browser.
- Select the number and the operation you want to perform.
- Press the
=
button to execute the operation. - The calculator will display the results on the screen.
index.html
: HTML file containing the calculator interface.style.css
: CSS file for the calculator interface styling.script.js
: JavaScript file providing the calculator functionality.
We welcome contributions! You can open a pull request or provide feedback through the issues tab.
- Fork this project.
- Create a new feature branch (
feature-branch
). - Commit your changes.
- Open a pull request.
This project is licensed under the MIT License. For more information, see the LICENSE
file.