A simple, stylish calculator built with HTML, CSS, and JavaScript.
- Basic Arithmetic Operations: Supports addition, subtraction, multiplication, and division.
- Responsive Design: Adapts to different screen sizes.
- Clear and Delete: Includes buttons for clearing the entire input or deleting the last entry.
- Decimal Support: Handles decimal numbers.
- Stylish UI: A visually appealing gradient background and easy-to-read button layout.
Usage Buttons:
- AC: Clears all input.
- DEL: Deletes the last entry.
- ÷, *, +, -: Arithmetic operations.
- Numbers (0-9): Input numbers.
- .: Decimal point.
- =: Computes the result.
Code Overview
-
HTML The HTML file contains the structure of the calculator.
-
CSS The CSS file is responsible for the styling of the calculator, including the layout and the gradient background.
-
JavaScript The JavaScript file contains the logic for the calculator, including functions for arithmetic operations, updating the display, and handling user input.
Contributing Contributions are welcome! Please feel free to submit a Pull Request.
License This project is open-source and available under the MIT License.
Contact If you have any questions or comments, please reach out to me at [email protected].