Tell us what’s happening:
In https://learn.freecodecamp.org/front-end-libraries/front-end-libraries-projects/build-a-javascript-calculator we have:
User Story #13: If 2 or more operators are entered consecutively, the operation performed should be the last operator entered.
But in the tests there are:
13. If 2 or more operators are entered consecutively, the operation performed should be the last operator entered (excluding the negative (-) sign.
I think there’s a UI/UX flaw when designing it like the test is recommending? Especially as there’s no “backspace” required in userstories?
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3915.0 Safari/537.36 Edg/79.0.287.2
.
Link to the challenge: