This is a simple calculator built using HTML, CSS, and JavaScript. It allows users to perform basic arithmetic operations like addition, subtraction, multiplication, and division.
- Basic Arithmetic Operations: addition, subtraction, multiplication, and division
- Clear Display Button: reset the calculation
- Calculate Button: evaluate the current calculation
- Display: shows the current calculation and result
- Open the calculator in a web browser.
- Click on the number buttons to enter a number.
- Click on the operator buttons (+, -, *, /) to select an operation.
- Click on the calculate button (=) to evaluate the calculation.
- Click on the clear button (C) to reset the calculation.
- index.html: The main HTML file that contains the calculator layout
- style.css: The CSS file that styles the calculator
- script.js: The JavaScript file that handles the calculator logic
This calculator is licensed under the MIT License. You are free to use, modify, and distribute the code as you see fit.
If you'd like to contribute to this calculator, please fork the repository and submit a pull request with your changes.
If you encounter any issues with the calculator, please open an issue on the GitHub repository.
This calculator was built using the following resources:
- HTML, CSS, and JavaScript documentation on MDN Web Docs
- Calculator design inspiration from various online sources