Skip to content

kens-visuals/ecommerce-product-page

Repository files navigation

Frontend Mentor - E-Commerce Product Page Solution

This is a solution to the E-Commerce Product Page Challenge on Frontend Mentor.

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
  • 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

Screenshot

screenshot

Links

My process

Built with

  • React
  • Tailwind CSS
  • Semantic HTML5 markup
  • CSS Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

This was my first Intermediate project, and I'm really excited about the stack that I used. It wasn't a really big project, but it was big enough for Tailwind CSS. I used Tailwind CSS before in a small project, however, this time around it was a completely different experience. Although, I like Tailwind CSS a lot, I don't think one can use it in each and every project. Sometimes, I want to take the control in my hands, and in that case styled-components come to help. In brief, a cool project, that helped me to know Tailwind better and decide in what type of project I'd like to use it in the future.

Useful resources

  • My image slider - Before beginning this project, I just wanted to make a simple slider in React and plain CSS for some practice. So, if you need a reference, here's one.

Author's Links