Alitindrawan24 / Binary-Calculator

Binary Calculator
https://alitindrawan24.github.io/Binary-Calculator/
MIT License
24 stars 57 forks source link

Lack of error messages/Input Validation #21

Closed ayushichoudhary-19 closed 1 year ago

ayushichoudhary-19 commented 1 year ago

Lack of Error Messages

The binary calculator currently lacks error messages when incorrect input is provided, resulting in the input field being cleared without any explanation. This can be confusing for users, as it doesn't provide guidance on what went wrong.

Example:

Input: ++-
Expected: Display an error message explaining the incorrect input.
Current: Input field is cleared without any error message.

Additional I would like to work on this issue, kindly assign.

Alitindrawan24 commented 1 year ago

Interesting, I will assign this issue to you @ayushichoudhary-19 Thank you

ayushichoudhary-19 commented 1 year ago

https://github.com/Alitindrawan24/Binary-Calculator/pull/25 Closes this issue.