Overview
- Complete Mathematical Operations: Supports basic arithmetic functions (addition, subtraction, multiplication, division) with accurate logic.
- Real-Time Clock & Date: Integrates the Date() object to display the time (24-hour format) and date in the id-ID (Indonesian) locale, automatically updated every second.
- Dark Mode: A dynamic toggle feature to switch between light and dark themes using smooth CSS transitions for user eye comfort.
- Custom Error Handling: Implementation of try...catch blocks to handle invalid mathematical inputs. Instead of a standard message, the app displays a unique and personalized error message: "YANG BENER NYED!" (Are you kidding me!).
- Responsive Design: Uses CSS Grid and Flexbox to ensure the button layout remains precise and easy to use across various screen sizes (mobile & desktop).
Technologies Used
- HTML5: To build the semantic structure of the application.
- CSS3: For visual design, grid layouts, and theme transition animations.
- JavaScript (ES6+): The main application logic, including the use of eval() for calculations, setInterval for the clock, and class manipulation for the Dark Mode feature.
