
Used Fetch API, Local Storage, DOM manipulation, CSS, and GitHub Pages
Design comparison
Solution retrospective
I’m most proud of how I dynamically managed the cart and UI updates using JavaScript, ensuring a smooth user experience with real-time updates. Successfully integrating local storage to persist cart data and deploying the project using GitHub Pages was also a highlight.
Next time, I would optimize the state management by using a framework like React for better scalability and maintainability. Additionally, I would improve accessibility and enhance the UI further with animations and better responsiveness.
What challenges did you encounter, and how did you overcome them?One major challenge was ensuring the cart state persisted correctly and updated dynamically. Sometimes, items wouldn't reset properly after clearing the cart. I overcame this by carefully managing local storage and ensuring state updates were reflected in the UI.
Finally, pushing the project to the correct GitHub account caused permission issues. I fixed this by properly configuring Git credentials and ensuring I was using the right account for authentication.
What specific areas of your project would you like help with?specific improvements, like optimizing performance, refining the UI/UX, fixing bugs, or adding new features
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord