A minimalistic, responsive, and feature-rich calculator built using HTML, CSS, and JavaScript. It supports fundamental arithmetic operations (addition, subtraction, multiplication, division), advanced operations such as percentage, square root (√), exponentiation (xʸ), and parentheses for grouping. The interface includes essential functions like AC (clear), DEL (delete), and = (equals). With a smooth, real-time display update mechanism, this project serves as an excellent learning experience for developers to practice DOM manipulation, event handling, and creating interactive web applications.
- Basic Arithmetic Operations: Addition, Subtraction, Multiplication, Division
- Advanced Functions: Percentage, Square Root (√), Exponentiation (xʸ), Parentheses (for complex calculations)
- User Interaction: AC (clear), DEL (delete), and Equals (=) buttons
- Responsive Design: Optimized for mobile, tablet, and desktop screens
- Sleek UI: Modern and intuitive user interface with smooth, real-time updates
- HTML5 — Provides semantic structure for the page and input fields
- CSS3 — Styling for the layout, ensuring a responsive design and clean visual presentation
- JavaScript (ES6+) — For handling the calculation logic, event handling, and DOM manipulation
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/diptobd71/simple-calculator.git
Simply double-click the index.html file or open it via a browser.
