My project of calculator isn’t approved by the checker. The orientation is about the “.” operator and says that:
- When the “.” button is clicked the display has to append a “.” to the value in it
- One number shouldn’t have two “.”
When you use my calculator it fulfill both exigences. However, my project isn’t approved. Can you say me why?
fCC Calculator – My project link (codepen.io)
Your project isn’t loading. You have to put the react-dom script after the react script in the script load order. Also, you should include the test script.
Open up the browser console (Ctrl + Shift + J) and press the dot two times in a row. You will get a reference error
ReferenceError: pass is not defined
Oh, thank you! I fixed my code !
Congrats on passing all the tests. Happy coding.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.