How to Use
Enter Numbers/Operations: Click the number and operation buttons (or use the keyboard) to build an expression (e.g., 5 + 3 * 2).
Calculate: Click the = button or press Enter to compute the result.
Clear: Click the C button or press Escape to reset the display.
Keyboard Support:
Numbers (0-9) and decimal point (.) for input.
Operators: +, -, *, /.
Enter to calculate, Escape to clear, Backspace to delete the last character.
Error Handling: Displays "Error" for invalid expressions (e.g., division by zero).
Features
Responsive Design: Uses Tailwind CSS for a clean, mobile-friendly interface.
Real-Time Input: Updates the display as you click buttons or type.
Basic Arithmetic: Supports addition, subtraction, multiplication, and division.
Precision: Results are rounded to 4 decimal places and trailing zeros are removed.
Keyboard Support: Allows input via keyboard for faster operation.