Skip to content

EmmS21/PEMDAS-Calculator

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published