This builds a simple Calculator app based on the original https://github.com/calebpollman/react-calculator. Results can be found here: https://egraumann.github.io/react-calculator/
- layout (colors, round corners, different division sign)
- works with float
- displays 0.5 instead of .5
- when typing in number and adding operator, I would like to keep the number in the display instead of resetting it to 0
- adding more operators (-/+, root, etc)
- (optional) when dividing by zero, it does nothing. Maybe show "error" or something like this?
$ git clone [email protected]:egraumann/react-calculator.git
$ cd react-calculator
$ npm install
$ npm start
$ npm test
$ npm run deploy