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
- 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: Click for the Live Site
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- TypeScript
- Mobile-first workflow
- React - JS library
- Styled Components - For styles
- React-Image-Gallery
It was my first time using TypeScript. I learned some basics around it, how to define types in React and how to use Functions with TS.