Javascript calculator not passing the tests

Tell us what’s happening:
Describe your issue in detail here.

I want to know why is not passing the tests.
This is my code:

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/ Safari/537.36

Challenge: Build a JavaScript Calculator

Link to the challenge:


The problem is that you’re using React 18.

If you use React 17 your code should pass.

There’s an open issue for problems with the FCC tests and React 18:

It´s working . Thank you.

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