Skip to content

nomaanulhasan/JavaScript-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanilla JavaScript Calculator

This repository contains a simple calculator application built using vanilla JavaScript. The calculator provides basic mathematical operations and supports both dark and light themes for a visually pleasing experience.

Features

  • Addition, subtraction, multiplication, and division operations.
  • Clear button to reset the calculator.
  • Dark and light themes for customization.

Usage

  1. Clone the repository to your local machine using the following command:

git clone https://github.com/nomaanulhasan/JavaScript-Calculator.git

  1. Open the index.html file in your preferred web browser.

  2. Use the calculator by clicking on the buttons or using your keyboard.

  3. To switch between the dark and light themes, click on the toggle button provided.

Screenshots

Light Theme

Light Theme

Dark Theme

Dark Theme

Contributing

Contributions to the project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request. Ensure that your contributions align with the coding style and conventions used in the project.

License

This project is licensed under the MIT License.

Acknowledgements

The calculator application is inspired by various online examples and tutorials. Special thanks to the contributors of the following resources: