I can’t understand how to pass the 2 remaining tests to complete the challenge.
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.
My codepen: JavaScript Calculator (codepen.io)
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.188
Challenge: Front End Development Libraries Projects - Build a JavaScript Calculator
Link to the challenge: