My Javascript calculator does not pass the tests

My Javascript calculator does not pass the tests
0

I don’t understand why the app doesn’t pass the test number 8 (8. As I input numbers, I should be able to see my input in the element with the id of “display”) since I already have an element with an id of “display” and innerText of that element updates accordingly. Here is the link of the app. Appreciate any suggestions or feedback or hints.
Cheers

The problem is that you have put the ids of “one”, “two”, and “three” on div elements instead of the clickable elements (buttons).

1 Like

It works. I should have asked you earlier. Thanks.