The freecodecamp test number 9, 12, 13, 14 doesn't work even though my coding is correct, can someone tell my mistake?

here my codesandbox: CodeSandbox - CodeSandbox

I can’t pass the four tests which are: 9. In any order, I should be able to add, subtract, multiply and divide a chain of numbers of any length, and when I hit “=”, the correct result should be shown in the element with the id of “display” 12. I should be able to perform any operation (+, -, *, /) on numbers containing decimal points 13. If 2 or more operators are entered consecutively, the operation performed should be the last operator entered (excluding the negative (-) sign. 14. Pressing an operator immediately following “=” should start a new calculation that operates on the result of the previous evaluation

your provided link doesnt work!!

happy learning :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.