This is a solution to the E-commerce product page. 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
Make sure to have node.js
npm
and yarn
installed and that you are in the root directory of the project, then simply run:
yarn install
To run the development server, execute:
yarn start
- React - JS library
- Chakra-UI - Css component library
- React Router - Client-side routing
- Name - Omar Mohamed
- Frontend Mentor - @OmarLawaty
- Twitter - @OmarLawaty