Review my Javascript Calculator please

Hello Coders,

Here’s the link -
Any feedback is highly appreciated; related to my code, design, anything. I tried to use the FCC Test Suite for the unit tests and was not able to pass most of the tests, though I’m not sure why. If anyone can figure it out, please let me know.


I would post your troubleshooting question in the HELP section so it will be addressed. Many “Project Feedback” posts seem to go unreplied-to.

I will help you on one of the failing tests.

#8. As I input numbers, I should be able to see my input in the element with the id of “display”

When I input numbers, they appear in the div with id=“dispEquation” and not the div with id=“display”.

I really like it. There seems to be a problem with rounding (a usual JS problem with floating point numbers) but overall very nice. :+1:

Thank you for getting that to my attention. Maybe that is affecting the other unit tests also. I am going to modify it and see if that works.

Thank you for your feedback. I appreciate it.