React Calculator is not passing FCC tests


I just finished making the React part of my calculator app and it seems to be working just fine. I tried doing everything I have imagined to break it and it seems to be showing correct results and working in a similar fashion to the calculator showed as an example.

However it fails tests #9 and #11-15. I manually tried inputting those values showed in the test failure messages and got a correct result but the tests are looking something like this:

I don’t really understand why it shows that my output is ‘0’ when it is not. Here is my pen.

Thanks in advance for you help,

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36.

Challenge: Build a JavaScript Calculator

Link to the challenge:

Hello there,

Your issues that you have not made the elements with id’s one, two, three... clickable:
Give the button the id, and you should pass more tests.

Hope this helps