Help Build a JavaScript Calculator

Tell us what’s happening:
Please help me with my code im unable to pass user story 11
My project link is
Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.108 Safari/537.36.

Link to the challenge:

1 Like

I had several problems with FCC tests, even though I was doing exactly what they were asking me to do. In my case, I continued with the other tests and sooner or later it would “fix itself”. You could also ignore that test, if it is doing what is expected to do it should be enough.

My code does the Job, but I think in my code in line 54 by adding string(“.”) to decimal value in input state its changing the decimal to string (i checked it using console) which is why I think it is not passing the user case. If that is the case I have following questions, can a decimal followed by “.” be a decimal value. I tried to add “.” in rendering stage ( as well but it dint pass maybe i did a mistake in that as well. Like you said ill move to next cases for now.