| name | javascript-interaction-logic |
| description | Implement complex interactivity and business logic using JavaScript. |
JavaScript Interaction Logic
This skill focuses on the 'brain' of the frontend - handling events, data manipulation, and user interactions.
Instructions
- Use modern ES6+ syntax for clean, readable code.
- Handle DOM events efficiently (debouncing, throttling).
- Implement logic for calculators, filters, and dynamic UI states.
- Manage complex data structures (filtering, sorting arrays).
- Ensure error handling and graceful degradation.
Examples
- "Write the logic for a real-time search filter."
- "Create a JavaScript function to calculate mortgage payments dynamically."