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

https://github.com/azkasahar/calculator-app


https://github.com/azkasahar/calculator-app

calculator calculator-app css html javascript squareroot trigonometric-functions

Last synced: 26 days ago
JSON representation

Awesome Lists containing this project

README

          

# Calculator-app

A simple web-based calculator supporting basic arithmetic operations and trigonometric functions.

## Features

- Basic Arithmetic Operations: Addition, Subtraction, Multiplication, Division
- Trigonometric Functions: Sine, Cosine, Tangent, Inverse Sine, Inverse Cosine, Inverse Tangent
- Logarithmic Function: Logarithm base 10
- Square and Square Root Functions

## Demo

![image](https://github.com/user-attachments/assets/4849f862-faad-4b33-bad3-2109dfefc2b6)

## Getting Started

### Prerequisites

To run this project, you need a web browser.

### Installation

1. Clone the repository:
```bash
git clone https://github.com/AzkaSahar/Calculator-app.git
```
2. Navigate to the project directory:
```bash
cd Calculator-app
```
3. Open `calc.html` in your web browser.

## Usage

Click the buttons to enter numbers and operations. First enter number or expression then click on the function buttons. Click `=` to evaluate the expression. Click `Clear` to reset the calculator.

## Files

- `calc.html`: The main HTML file.
- `calc.css`: The stylesheet for styling the calculator.
- `calc.js`: The JavaScript file containing the calculator logic.

## Contributing

Contributions are welcome! Please open an issue or submit a pull request.

## License

This project is licensed under the MIT License. See the `LICENSE` file for details.

## Acknowledgements

- Background and button design inspiration from various online calculators.