Design comparison
SolutionDesign
Solution retrospective
I used React to build the project & Sass(SCSS) for styling.
- It has a responsive design - I used custom sass mixin for it
- You can Add/Remove cart items - I used useReducer() + useContext() hooks for it (I mainly use Redux but I think this combo is better for smaller projects like this)
- Transitions are handled by pure CSS
- It has 2 image galleries (1 each for small & large devices) - I made separate custom components for them instead of using any library
I tried to organize my React folder in the best way possible & used Semantic HTML5 tags wherever possible ~any recommendations on any fixes / better ways are appreciated :)
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