This is a solution to the E-commerce product page challenge on Frontend Mentor
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
-
Solution: frontendmentor.io
-
Live Site: cloudflare
- Install React+Vite, Prepare assets, Initial git
- Identify components (These components may change during creation)
- Layout
- Wrapper
- Header
- Menu
- Cart
- Product (page)
- Slider (fade)
- ProductSlider
- Modal
- Backdrop
- LightBox (with slider capability)
- ProductLightBox
- Layout
- Create components
- Work on:
- Mobile design based on
designfolder (375px) - bigger reselotion based on
designfolder (>375px)
- Mobile design based on
- React
- Framer Motion
- CSS Module
- Mobile first workflow
Reusability thought in react is the crucial part of react, Knowing how to play with that is more crucial.
more on React and Framer motion
Thanks To
Frontendmentor.io - for their Excitement challenges
Perfect Pixel - for such a great extension
