I made a react calculator here’s a link to it: https://codesandbox.io/s/github/dmoneyballer/react-calculator
I the backspace key doesn’t exactly function how it does on my windows default calculator app but it’s pretty close to how it works. Let me know what you guys think or if you know how it can be improved.
Well done @dmoneyballer! I have a suggestion. For the buttons, you should add in your css: cursor: pointer
- this will change the cursor and it should look better!
Keep up the good work!
1 Like
Thanks for the feedback, that would make it easier to use
1 Like
I think this is the first calculator I’ve seen that displays infinity when you divide by zero.
1 Like
I hadn’t tested that, I’m glad it works
An interesting project. I will ask my students to do this. We will see how they manage