This repository contains the source code for a simple calculator website. The project is built using HTML, SASS, and JavaScript, offering basic arithmetic operations in a clean and responsive design.
- Perform basic arithmetic operations:
- Addition (
+) - Subtraction (
-) - Multiplication (
*) - Division (
/)
- Addition (
- Clear the input and start a new calculation.
- Responsive and user-friendly interface.
- HTML: Structure of the website.
- SASS: For styling with modular and maintainable CSS.
- JavaScript: Handles calculator functionality and user interactions.
-
Clone the Repository
-
Compile SASS (Optional) If you want to modify styles, make sure you have SASS installed and run:
sass styles.scss styles.css
- Open in Browser Open index.html in any modern web browser to use the calculator.
Usage
-
Open the website in your browser.
-
Use the buttons to perform arithmetic operations:
Enter numbers using the buttons.
Use the operators (+, -, *, /) for calculations.
Press = to display the result.
Future Enhancements
Add advanced operations, such as square root and percentage calculations.
Implement keyboard shortcuts for easier input.
Add dark mode toggle for better user experience.
Contributing
Contributions are welcome!
-
Fork the repository.
-
Create a new branch for your feature or bugfix.
-
Submit a pull request with detailed information about your changes.
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Acknowledgments
Thanks to the open-source community for inspiration and tools that made this project possible.