/React-Calculator

This is a basic calculator made with React.js

Primary LanguageJavaScriptMIT LicenseMIT

Calculator with React

A basic calculator made with React, it contains the 4 basic operations. Also, it comes with modulus, AC, and +/- actions.

react-calculator

Live Version

Heroku App

Built With ✨

  • JavaScript ECMA6
  • React ^16.13.1
  • CSS3

Prerequisites

  • Node.js installed You will need Node.js up to v8.

  • System dependencies Windows/ Mac

Install

Clone project and run:

npm install

After the installation of all dependencies run the following script:

npm start or yarn start

Usage instructions

Only click the button you want on the button panel, and it will display the result in the top of the button panel.

Potential future features

  • Add unit tests to Button, ButtonPanel, Display, and App components.
  • Add a list of operations made before as a history.

How to contribute and participate

Fork this repo and submit a PR for review and potential merge to the main branch. Feel free to leave feedback. 😄

Authors

👨‍💻 Gabriela Cruz

License

This project is MIT licensed.