This calculator was previous built with jQuery (https://github.com/vsan21/jQuery-Calculator), and has been improved and converted to React.
- Display - describes what I want to show on the browser (this also includes updating).
- Buttons - both numbers and operators
- Calculations - created a separate file just for the "equal" functionality (i.e. getting the result number)
View and play with the calculator here: https://vsan21.github.io/React-Calculator/
- Copy the repo URL
- In your terminal, run
git clone <URL>
cd React-Calculator
npm start
oryarn start
(this will host the application on localhost:3000)