EmmS21 / PEMDAS-Calculator

A PEMDAS calculator with light and dark mode

Home Page:https://pemdas.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started with Create React App

This project was bootstrapped with Create React App.

This was created by Emmanuel Sibanda as part of the Vial coding challenge

Available Scripts

This is a PEMDAS calculator built by Emmanuel Sibanda. To run this project, start off by cloning this repository.

  • Once you have cloned the repo, open a terminal and navigate to the calculator folder
  • Once in the folder run the command, npm install
  • Now run npm start
  • Run npm test to run the tests compiled

Tests

I wrote about 10 tests to assess whether the calculator correctly outputs calculations in the PEMDAS order and if the additional buttons I created work as intended. I hope these tests also help you better evaluate my calculator.

Running npm test will run these tests

Additional Notes

You will need to press the "=" sign before any computation is carried out, with the exception of exponentials and percentage.

About

A PEMDAS calculator with light and dark mode

https://pemdas.vercel.app


Languages

Language:JavaScript 80.0%Language:CSS 10.9%Language:HTML 9.1%