Front End Development Libraries Projects - Build a JavaScript Calculator

Tell us what’s happening:

I have recently completed the calculator project on the fcc frontend frameworks course. Passed 15 test cases. Stuck on one. But, unfortunately, I can’t understand the issue properly.
It says, “Uncaught SyntaxError: Invalid left-hand side expression in postfix operation”
source code: Visual Studio Code for the Web
website link: https://fantastic-space-robot-9rj5pqw7j5vcxw6v-5173.app.github.dev/

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

Challenge Information:

Front End Development Libraries Projects - Build a JavaScript Calculator

It is the 5 + + 5 input test that is throwing that error. Log out question before you eval it and try it with that input.

You have an empty if/else block on line 30.

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