Skip to content

Commit

Permalink
listo
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisPerez2008 committed Jun 29, 2024
1 parent 76eb64d commit 8c531d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,16 @@ <h1 class="text-4xl font-extrabold text-center md:text-6xl md:text-left ">Make

document.getElementById('menu-items').addEventListener('mouseleave', function() {
const menuItems = document.getElementById('menu-items');
const arrow = document.getElementById('arrow');
arrow.classList.toggle('bg-arrow-down');
menuItems.classList.add('hidden');
menuItems.classList.remove('flex');
});

document.getElementById('menu-items2').addEventListener('mouseleave', function() {
const menuItems = document.getElementById('menu-items2');
const arrow2 = document.getElementById('arrow-2');
arrow2.classList.toggle('bg-arrow-down');
menuItems.classList.add('hidden');
menuItems.classList.remove('flex');
});
Expand Down

0 comments on commit 8c531d6

Please sign in to comment.