Skip to content

This project implements a simple Math Calculator web application. (Unfinished)

Notifications You must be signed in to change notification settings

KPaccarizi/Math-Calculator

Repository files navigation

Math Calculator

Introduction

This project implements a simple Math Calculator web application.

Step 1: Develop basic arithmetic calculator, test with simple expressions, handle invalid inputs.

Step 2: Extend calculator for complex expressions, use Shunting Yard Algorithm.

Step 3: Upgrade calculator for advanced expressions, add trigonometric functions, custom tests.

Features

  • Perform basic arithmetic operations like addition, subtraction, multiplication, and division.
  • Evaluate more complex expressions with parentheses and multiple operations.
  • Support advanced functions such as sin, cos, tan, log, pi, e.
  • Display calculation history.
  • Responsive design for both desktop and mobile devices.

Usage

  1. Enter expressions using the calculator buttons or keyboard.
  2. Press the "=" button to calculate the result.
  3. View the calculation history on the sidebar.

File Structure

  • index.html: HTML file containing the calculator interface.
  • script.js: JavaScript file handling calculator logic and functionality.
  • style.css: CSS file for styling the calculator interface.
  • images/: Directory containing images used in the calculator interface.

Installation

No installation is required to use the Math Calculator. Simply open the index.html file in a web browser to start using the calculator.

Development

If you want to contribute to the project or customize the calculator further, follow these steps:

  1. Clone the repository to your local machine.
  2. Modify the HTML, JavaScript, or CSS files as needed.
  3. Test your changes by opening the index.html file in a web browser.
  4. Commit your changes and push them to your GitHub repository.

Math Calculator

Credits

This calculator is inspired by the Malmath web application and Coding Challenges

P.S.: I'm still working on the Calculator and History tab! 😁

About

This project implements a simple Math Calculator web application. (Unfinished)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published