Hi,
I’m currently working on the Front End Development Libraries projects. I’m on the Javascript Calculator.
you can find my code under: https://codepen.io/tlaschkolnig/pen/QWJJpYq
(I havent really done any styling yet, as I want to get the functionality down first).
When I press to run the tests, it only gives me 4/16 passes. and tests that aren’t passing are like i.e. " My calculator should contain a clickable element containing an “=” (equal sign) with a corresponding id=“equals”"
But I have that on line 105.
same with having clickable elements that contain the numbers, operators, etc.
And the same for pretty much all other tests that aren’t passing, I feel like I fulfill them. I’m confused as I feel like my code fulfills the functionality of a calculator, but those tests are not passing, despite when I try to do the tests manually, I can do it.
Am I misunderstanding the exercise here? Or what is wrong in my code here?
thank you!