JS Calculator App

JS Calculator App
0.0 0

#1

Hey guys, i just finished my calculator app built with vanilla JS. Feedbacks are definitely welcome. Cheers guys!!!
https://codepen.io/Mrphemi/pen/mLxaQj


#2

If I enter 1 / 7 * 7, I should get 1, but your calculator displays 49. You need to rethink your logic for consecutively entered operations. A user should not have to hit = after every two operands separated by an operator to get a result.


#3

Thanks for the feedback, i’ll surely work on the logic. Cheers!!


#4

Nice app dude. The only feedback I have is:

  • The colour of the number pad and background are really similar, makes it hard to distinguish the edges.
  • The colour of the display numbers and display overall again are quite similar.

That could just be a design choice on your part though. I have a personal preference for contrasting colours to make it obvious where something starts/ends.