Skip to content

AzkaSahar/Calculator-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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

Getting Started

Prerequisites

To run this project, you need a web browser.

Installation

  1. Clone the repository:
    git clone https://github.com/AzkaSahar/Calculator-app.git
  2. Navigate to the project directory:
    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.