Build A Java Script Calculator

Hello,

I finally completed my calculator project and would like to hear some feedback.
I did my best to make it simple and easy to read but since I am still new, I want to learn the way to make it better.
Also, I was thinking about adding keyboard press option (like drum machine project). Is it something that I can add on this code?

https://codepen.io/eriko87/pen/bPvLbN?editors=0011

1 Like

Very Nice Eriko! Looks like you have a pretty good understanding of React.

keyboard input would make a nice addition. makes using the calculator much easier.

1 Like

Thanks for your feedback! I think I learned a lot from this project. I tried to add the key press function but it didn’t go well as I imagined. I will come back to this project again near the future :grin: