Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Request path contains unescaped characters
Not Found

Submitted

Calculator App

@AdanSaavedra

Desktop design screenshot for the Calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


I'm open to any suggestions😄

Community feedback

P

@mesganaG

Posted

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 helpful

0

@AdanSaavedra

Posted

@mesganaG thanks for your feedback, I will work on this error👍🏾😁

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord