0

Creating a calculator with JS

I'm trying to make a calculator with JS, I'm not done completely done yet with the program, but so far I should be able to add numbers, but I get error messages that I'm not sure how to fix. The problem might be in the compute section, albeit I'm not sure. The error says that in line 44 there is an unexpected identifier, which I'm not sure what it means by that and I don't know how to fix it, Can anyone help? https://code.sololearn.com/WBkSgB48DpWV/#js

21st Mar 2020, 12:03 AM
Danial Azadpour
Danial Azadpour - avatar
3 Réponses
0
Thank you Mirielle👽, it also says the same error in the line 104.
21st Mar 2020, 1:01 AM
Danial Azadpour
Danial Azadpour - avatar
0
}); at line 104 is closing the opening in line 100 you need another }); to close the opening in line 3.
21st Mar 2020, 1:12 AM
Gordon
Gordon - avatar