A simple and responsive calculator built using HTML, CSS, and JavaScript. This project supports basic arithmetic operations like addition, subtraction, multiplication, and division.
- Clean and responsive UI
- Perform basic arithmetic operations (
+,-,×,/) - Decimal support
- Clear button (
C) to reset input - Error handling for invalid inputs
- HTML5 – for structure
- CSS3 – for styling and layout
- JavaScript (Vanilla JS) – for calculator logic
├── index.html # Main HTML file
├── styles.css # Styling for the calculator
├── script.js # Calculator logic
└── README.md # Project documentation
- Clone the repository:
git clone https://github.com/sebzcode/JavaScriptCalculator.git
- Navigate into the project folder:
cd JavaScriptCalculator- Open index.html in your browser.
- Add keyboard support.
- Implement advanced operations (square root, percentage, memory functions, etc.).
- Improve responsive design for smaller screens.
- Developed by sebs