Skip to content

omeizahanif/Ecommerce-Product-Page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - E-commerce product page

Design preview for the E-commerce product page coding challenge

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

Screenshot for the solution to the E-commerce product page coding challenge

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

  • I learned more about applying mobile-first principles in designing interfaces.
  • I also learned about using functional programming principles in writing maintainable and reusable code.

Continued development

  • I intend to learn design patterns (in order to improve my codebase) and dive head into React (in order to create reusable components and improve performance)

Useful resources

  • Box Shadow Generator - This helped me in creating box shadows with ease for interactive components.
  • Setting CSS Opacity Without Affecting Child Elements - This is an amazing article which helped me finally understand how to set opacity without affecting child elements. It was useful in designing the lightbox. I'd recommend it to anyone still learning this concept.

Author

Acknowledgments

Special thanks to Frontend Mentor for giving me much needed purpose through practice projects.

About

an ecommerce product page with a lightbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published