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 / I did hover instead
- Add items to the cart
- View the cart and remove items from it
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- React - JS library
- Vite - Frontend tooling
- TailwindCss - For styles
- React hot toast - For notifications
<h1>check CartContext.jsx</h1>
- Ehm, i think i'll want to focus on
perfect
reponsiveness haha - minimal code
- better
best practices
haha
- Chat GPT - This helped me solve some issues, I'd recommend to anyone, try not to copy the code,it'much better to learn the logic, why it will work, why it won't. Btw,
ChatGPT
ismindblowing
, very hepful.
- Website - Moses Fawole
- Frontend Mentor - @mosesfawole
- Twitter - @pharwoleh
-I'll give ChatGPT
some credit haha and myself also, did the enitire project without using someone else's solution