This is a solution to the E-commerce product page challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- See hover states for all interactive elements on the page
- Open a lightbox gallery by clicking on the large product image
- Switch the large product image by clicking on the small thumbnail images
- Add items to the cart
- View the cart and remove items from it
- React - JS library
- TypeScript - JS Superset
- Redux Toolkit - State Management
- Material UI - UI Components and Styling
My goal for this project was a take a realistic project and use it to learn both Material UI and Redux Toolkit. I learned a great deal about both in my implementation of this e-commerce app, including theme customizations, styled components, and Redux data flow.
- React / Material-UI: Use variable reference in custom theme - Provides a process for using theme palette customizations inside of styleOverrides by creating multiple themes and merging them into one.
- MUI 5 styled() pass props along with theme object - Explanation for passing props to styled components with TypeScript
- Website - Justin Fowler Art