This is a simple calculator project built using HTML, CSS, and JavaScript. It provides basic arithmetic operations such as addition, subtraction, multiplication, division, and modulus. The calculator has a clean and user-friendly interface.
- Addition
- Subtraction
- Multiplication
- Division
- Modulus
- Clear display
- Clear all values
To use the calculator, you can access it through GitHub Pages:
- Open the Calculator page in your web browser.
- Click on the numbers and operators to input your expression.
- Click "=" to see the result.
- Use "C" to clear the current input.
- Use "AC" to clear all values.
index.html
: HTML file containing the structure of the calculator.style.css
: CSS file for styling the calculator interface.script.js
: JavaScript file containing the functionality of the calculator.
The calculator works by taking input from the user through button clicks and updating the display accordingly. It stores the operands and operator to perform the calculation when the "=" button is clicked. The result is then displayed on the screen.
Special thanks to The Odin Project for guidance and support during the development of this project.