Skip to content

Commit

Permalink
Fixed Filter bug2
Browse files Browse the repository at this point in the history
  • Loading branch information
richardkanai committed Aug 14, 2021
1 parent e2ab1de commit 2d727c9
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ const MenuBtn = document.querySelector("#MenuBtn")
const Nav = document.querySelector("nav")
const CardsHolder = document.querySelector(".CardsHolder")
const ProductsCategory = document.querySelector("#ProductsCategory")
/// animations
// anime js 1. Display Image
// anime({
// targets: '.DisplayImage',
// border: ' solid #FFF',
// borderRadius: ['0%', '50%', '0%'],
// autoplay: true,
// loop: true,
// duration: 6000,
// easing: 'easeInOutQuad'
// });


// animate IntroText
Expand Down Expand Up @@ -116,12 +105,9 @@ ProductsCategory.addEventListener('change', ()=>{
SortByCategory(ProductsCategory.value)
}

// CardsHolder.style.height = "unset";
})


// CreateCardforArray(SortByCategory("Computer"))

function SortByCategory(userChoice){
let source = `./${userChoice}.json`
console.log(source);
Expand Down

0 comments on commit 2d727c9

Please sign in to comment.