Improved the project by adding new features and fixes#187
Open
shashidharGayakawad wants to merge 1 commit intoAxe-Pearl:masterfrom
Open
Improved the project by adding new features and fixes#187shashidharGayakawad wants to merge 1 commit intoAxe-Pearl:masterfrom
shashidharGayakawad wants to merge 1 commit intoAxe-Pearl:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UI/UX Overhaul
Modern Design: Switched to a sleek, dark-themed "glassmorphism" look with a realistic calculator body.
Rounded Buttons: All buttons are now circular, mimicking modern mobile calculators (like on iOS).
Color Coding:
Red/Grey: 'AC' (Clear) button for quick identification.
Orange: Operator buttons (÷, ×, -, +) to stand out.
Green: The '=' button for the final action.
Dark Grey: Number buttons.
Dual Display: Added a two-line screen. The top line shows the calculation (e.g., 12 × 5), and the bottom line shows the real-time result.
Functional Improvements
Backspace (⌫): Added a new button to delete the last character, so you don't have to clear everything for a small typo.
Smart Symbols: The display now uses proper mathematical symbols (×, ÷) instead of computer code (*, /) for a cleaner look.
Robust Logic: Updated the underlying code to handle complex expressions more reliably.