This repository contains a simple, yet powerful calculator built entirely with JavaScript, HTML, and CSS. This calculator is designed to work seamlessly in any web browser and includes a theme selector allowing you to choose between light, dark, and default themes.
- Basic arithmetic operations: addition, subtraction, multiplication, and division
- Ability to chain multiple operations
- Clear and reset functionality
- Responsive design that works on different screen sizes
- Theme selector: choose from light, dark, or default themes to suit your preference or match your workspace
Prerequisites
- Any modern web browser (Google Chrome, Firefox, Safari, etc.)
- Clone this repository to your local machine using https://github.com/EleoXDA/calculator_js.git.
- Navigate to the project folder.
- Open index.html in your preferred web browser.
To perform a calculation:
- Click on the numbers and operators to form a calculation
- Click the equals sign (=) to get the result
- Click the clear (C) button to reset the calculator
To select a theme:
- Use the theme selector dropdown at the top right corner of the calculator
- Choose between Default, Dark, or Light themes
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License. You can find the full text of the license in the LICENSE.md file.