Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
AndjelUrshini committed Apr 20, 2024
1 parent 858a3a5 commit d648291
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@ lists.forEach(link => {

const dropdown = document.querySelector(".select")
const menu = document.querySelector(".menu-social")
console.log(dropdown);
console.log(menu);

dropdown.addEventListener('click',()=>{
menu.classList.toggle("showSocial")
})

const menuIcon = document.querySelector('.bx-menu')
const menuList = document.querySelector('.nav-menu')

menuIcon.addEventListener('click',()=>{
menuList.classList.toggle("showNav")
})

0 comments on commit d648291

Please sign in to comment.