A functional, responsive shopping cart component built with Vanilla JavaScript and Modern CSS. This project demonstrates efficient state management and dynamic UI updates without external frameworks.
-
Dynamic State Management: Uses JS
Mapobjects for$O(1)$ performance in cart operations. - Real-time Updates: Automatic subtotal calculation and DOM synchronization.
- Responsive UI: Optimized for desktop and mobile using CSS Grid and Flexbox.
- Minimalist Design: Clean, professional aesthetic with sticky summary positioning.
- Logic: JavaScript (ES6+)
- Styling: CSS3 (Flexbox/Grid/Transitions)
- Structure: Semantic HTML5
- Clone the repository.
- Open
index.htmlin any modern browser.