Javascript Calculator - Looking for feedback

Javascript Calculator - Looking for feedback
0.0 0

#1

Javascript Calculator


#2

Nice job! It’s a very clean look, and it mostly behaves like a calculator should. There are two things I noticed:

  1. When hovering over any of the buttons, the size of the whole calculator changes. It makes it dance as I’m inputing numbers.

  2. I can input more than one operator or decimal point in a row. A challenging improvement would be to disallow more than one non-numeric character while still allowing the user to input an expression with multiple operators.


#3

One thing I noticed was that I could have more than one symbol. So for example you could have 1++++++1 which would equal 2 correctly though.


#4

Thanks. I’ll try to implement these.