This is a simple calculator built with HTML, CSS, and JavaScript. It supports basic arithmetic operations and allows users to perform calculations easily.
- Basic arithmetic operations: addition, subtraction, multiplication, and division.
- Clear and delete functionality.
- An
Ansbutton to use the result of the last calculation. - User-friendly interface.
- HTML: For structure and layout.
- CSS: For styling the calculator.
- JavaScript: For functionality and interactivity.
- Open
index.htmlin your web browser. - Enter numbers using the calculator buttons.
- Select an operator to perform a calculation.
- Press
=to see the result. - Use the
Ansbutton to insert the last calculated result. - You can clear the display using the
ACbutton or delete the last digit using theDEbutton.
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/MyCalc.git
- Navigate to the project directory:
cd MyCalc - Open index.html in your browser