A simple, functional calculator implemented with HTML, CSS, and JavaScript.
This project is a basic calculator built to demonstrate the use of front-end web development technologies. The calculator supports basic arithmetic operations like addition, subtraction, multiplication, and division, along with chained operations and repeated calculations.
- Basic arithmetic operations: addition, subtraction, multiplication, and division.
- Support for chained operations (e.g.,
2 + 3 + 4
). - Repeated calculations with the equal button (e.g.,
5 + 5 = =
). - Clear all (
AC
) and clear entry (CE
) functionality. - Responsive design.
- HTML: Structure of the calculator interface.
- CSS: Styling of the calculator for a modern look and feel.
- JavaScript: Logic for handling operations, state management, and user interactions.
- Clone the repository:
git clone https://github.com/juliannalencar/iphone-calculator.git
- Navigate to the project directory:
cd iphone-calculator
- Open the
index.html
file in your web browser to use the calculator.
Contributions are welcome! If you would like to improve the project, feel free to submit a pull request or open an issue with your suggestions.
calculator-project/
│
├── index.html # Main HTML file for the calculator interface
├── styles.css # CSS file for styling the calculator
├── script.js # JavaScript file containing the calculator logic
└── README.md # Project documentation (this file)