Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/harsh-pandhe/calculator

A user-friendly web calculator supporting basic arithmetic operations with features like percentage calculation, negation toggle, dark mode, and keyboard support for enhanced usability.
https://github.com/harsh-pandhe/calculator

Last synced: 23 days ago
JSON representation

A user-friendly web calculator supporting basic arithmetic operations with features like percentage calculation, negation toggle, dark mode, and keyboard support for enhanced usability.

Awesome Lists containing this project

README

        

# Calculator Web App

A simple web-based calculator with basic arithmetic operations.

## Table of Contents

- [Description](#description)
- [Features](#features)
- [Usage](#usage)
- [Installation](#installation)
- [Dependencies](#dependencies)
- [Screenshots](#screenshots)
- [License](#license)
- [Authors](#authors)
- [Acknowledgments](#acknowledgments)

## Description

This project is a basic calculator web application built using HTML, CSS, and JavaScript. It provides a user-friendly interface for performing arithmetic calculations and includes additional features such as dark mode and keyboard support.

## Features

- Addition, subtraction, multiplication, and division.
- Percentage calculation.
- Negation toggle.
- Dark mode.
- Keyboard support.

## Usage

1. Open the `index.html` file in a web browser.
2. Use the on-screen buttons or the keyboard to input numbers and perform calculations.
3. Explore the various features of the calculator.

## Installation

To run this project locally, follow these steps:

1. Clone the repository:

```bash
git clone https://github.com/harsh-pandhe/Calculator.git
```

2. Navigate to the project directory:

```bash
cd calculator
```

3. Open the `index.html` file in your preferred web browser.

## Dependencies

- [Math.js](https://mathjs.org/): Used for evaluating mathematical expressions.
- [Darkmode.js](https://github.com/sandoche/Darkmode.js/): Library for implementing dark mode.

## Screenshots

![Calculator in Dark Mode](images/img_01.jpeg)
*Calculator in Dark Mode*

![Calculator in Dark Mode](images/img_02.jpeg)
*Calculator in Light Mode*

![Calculating in Light Mode](images/img_03.jpeg)
*Calculating in Light Mode*

![Calculating in Dark Mode](images/img_04.jpeg)
*Calculating in Dark Mode*

## License

This project is licensed under the [MIT License](LICENSE).

## Authors

- Harsh Pandhe

## Acknowledgments

- Font Awesome for icons.
- Darkmode.js for dark mode functionality.