Feedback on my JS Calculator?

I’ve been off FCC for several months, happy to be back and to have finished this project! Would appreciate feedback!

Should I really be able to enter:

I would make it so you can only enter one decimal point for each number entered.

Also, you need to make it “mobile friendly”, because on a smaller screen I get:

1 Like

Also, your AC and CE buttons appear to both clear the display and reset the result back to zero. Look at this discussion on the different between C and CE on the windows calculator. C has the same functionality your AC (all clear) should have.

1 Like

Calculator looks and works great!

One small issue. You seem to be able to divide by zero and get infinity. It should be ‘undefined’

Thanks everyone! It’s updated based on the problems you noticed, let me know if you see anything else that needs work. I appreciate the feedback!