Skip to content

ohenekwabena/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. 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
  • Add items to the cart
  • View the cart and remove items from it

Screenshot

Demo Shoe Product Page

Links

My process

  • Built page-by-page site with next folder routing.
  • Optimized for mobile view.
  • Collected as some shoe json data from Nike.
  • Modified data to include tags for easy sorting to render shoes based on tags.

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • React - JS library
  • Next.js - React framework
  • Css Modules.
  • React Feather Icons

Continued development

  • Deeper research into Image optimization with built-in next image component.
  • Adding dark mode seamlessly.

Author