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
- Live Site URL: E-commerce Product Page
- Semantic HTML5
- Mobile-first workflow
- React v17.0.2 - JS library
- React Bootstrap - React framework for styling
- Netlify to host the project.
- How to use React Hooks:
- How to create a modal with
createPortal
— a React DOM API.