Skip to content

isaacnovaes/ecommerce-product-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - E-commerce product page solution

Live site

Project Preview

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

How to get this project ready on your machine

Run the following commands:

git clone https://github.com/isaacnovaes/ecommerce-product-page //1

cd ecommerce-product-page                                       //2

npm i                                                           //3

npm run sass                                                    //4
  • //1 clones the project repository
  • //2 directs you to the project folder
  • //3 installs dependencies
  • //4 initiates sass compiler

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

Mobile

Desktop

Cart

Links

My process

Built with

  • Mobile-first workflow
  • Semantic HTML5 markup
  • Sass
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • JavaScript
  • Animations
  • Local Storage

What I learned

It was the first time that I practiced building a slider component. Before, I thought that it would be really hard, but after searching how to do it, I got the it is much more logical and straight forward than what I thought.

About

Simple-page e-commerce project where I practice state handling, slider component, and keyboard navigation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published