Skip to content

gizemcdeniz/e-commerce-project-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

e-commerce project

During the course of the coming weeks, we'll be building the new better Amazon, it’s better because you’ll build it

the requirements will come in pieces each class

As a beginning we will build the products page, to build it you have to:

Build a product component that contains:

  • img of the product ( YES )
  • Name of the product
  • Description of the product
  • A state that indicates the amount of this item in stock
  • A state that indicates the number of likes the product's got
  • A button to like the product with an event listener to change the state of the products (liked or not)
  • A button to add the product to cart with an event listener to change the state of the products in stock according to how many items the user ordered

Render the product component on the products page:

  • Passing the props to the components from an array of objects where each object represent a product

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.3%
  • HTML 7.9%
  • CSS 1.8%