Design comparison
Solution retrospective
What are you most proud of, and what would you do differently next time?
This challenge was a lot of fun! I did take some creative liberties with the UI/UX because I had a few concerns about the original design.
What challenges did you encounter, and how did you overcome them?
For starters, I thought it was a bit of a pain for mobile users to scroll all the way to the bottom just to check their cart. So, I added a handy cart button with an item counter right where they can see it, and turned the cart into a nifty drawer.
I also threw in a little magic with localStorage to save the cart's state. That way, if you accidentally (or intentionally) refresh the page, your carefully selected items won't disappear. The cart only clears out when you submit your order and start a fresh one.
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