I'm open to any suggestions😄
Mesgana Geletu
@mesganaGAll comments
- @AdanSaavedraSubmitted 12 months ago@mesganaGPosted 12 months ago
Your calculator app has a visually beautiful design and functions effectively. However, I've noticed that when I input an incorrect expression, the app crashes and continuously concatenates mathematical symbols and numbers. I would like to suggest that if a user inputs an invalid expression, the app should display an error message indicating that the expression is invalid and catch the syntax error. I hope this feedback is helpful.
Expression: 2+2//3
index-76ed09c6.js:73 Uncaught SyntaxError: Value expected (char 3) (at index-76ed09c6.js:73:7553) at Se (index-76ed09c6.js:73:7553) at qe (index-76ed09c6.js:73:7450) at he (index-76ed09c6.js:73:7373) at we (index-76ed09c6.js:73:7211) at ve (index-76ed09c6.js:73:7116) at se (index-76ed09c6.js:73:6514) at ne (index-76ed09c6.js:73:5497) at q (index-76ed09c6.js:73:4674) at P (index-76ed09c6.js:73:4467) at ce (index-76ed09c6.js:73:4033)
Marked as helpful0