Calculator React.js

Made a react version of a calculator for advanced front end development projects.
Would some feedback :slight_smile:

It works, looks great, and the code looks clean. good job!

thank you for the reply, positive feedback is always great :smile:

Problem with this equation: .1 + .2 + .3 = 6

When I type in the same thing, I get 0.6 :slight_smile:

Well I don’t!
0.1 + 8 = 8.10 (trailing zero added?)
10 / 3 = 3.33 it equals 3.33333333 recurring

I’ve spotted a bug : when you type a number then press equal without typing any operation first it completely messes the calculator up : You can still ad number but cannot do any operation so long as you don’t press “clean”. :slight_smile:

Will try to solve this problem :slight_smile:

Thanks, didn’t catch that one. I’m gonna work on it.

You are only getting 0.6 if you enter 0.1 + 0.2 + 0.3 =

You should be able to enter .1 + .2 + .3 = and get 0.6, but your calculator does not allow you to enter a decimal without a preceding number like 0, 1, etc…