This is a simple web-based calculator application built using HTML, CSS, and JavaScript. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division. The calculator is styled to provide a user-friendly interface and offers responsive design for mobile and desktop users.
- Arithmetic operations: Addition, Subtraction, Multiplication, and Division
- Clean and intuitive user interface
- Responsive design for mobile and desktop users
- Error handling for invalid inputs and division by zero
- Real-time display of results
- HTML: Structure and layout of the calculator
- CSS: Styling and responsive design
- JavaScript: Functional logic for performing calculations
- Clone this repository to your local machine:
git clone https://github.com/jAnubhav/Calculator-JS
- Open the
index.html
file in your web browser.
- index.html: The main HTML file that contains the structure of the calculator.
- style.css: The CSS file for styling the calculator.
- script.js: The JavaScript file that contains the logic for performing calculations.
- Implement additional functions such as square root, percentage, and exponentiation.
- Add keyboard support for more intuitive user interaction.
- Improve overall UI/UX design.
If you'd like to contribute to this project, feel free to submit a pull request or open an issue.