Skip to content

mosesfawole/e-commerce

Repository files navigation

Frontend Mentor - E-commerce product page solution

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.

Table of contents

Overview

The challenge

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

Screenshot

Links

My process

Built with

  • 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

What I learned

<h1>check CartContext.jsx</h1>

Continued development

  • Ehm, i think i'll want to focus on perfect reponsiveness haha
  • minimal code
  • better best practices haha

Useful resources

  • 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 is mindblowing, very hepful.

Author

Acknowledgments

-I'll give ChatGPT some credit haha and myself also, did the enitire project without using someone else's solution