Skip to content

A static , responsive product page built as a mobile-first design as part of a front-end mentor challenge

Notifications You must be signed in to change notification settings

2XG-DEV/FEM-E-Commerce-Product-Page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

screen

Links

My process

Started with the HTML , broke the design into individual elements , used BEM naming convention for the classes and created individual stylesheets for each component , imported them all from style.css , created the abstract stylesheets : variables , utilities and layout. Added functionality with JS for each component (cart and image carousel)

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid

Continued development

The project still misses the desktop lightbox and image gallery functionality

About

A static , responsive product page built as a mobile-first design as part of a front-end mentor challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published