diff --git a/index.html b/index.html index 0c3e138..17dc5d1 100644 --- a/index.html +++ b/index.html @@ -107,12 +107,16 @@

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'); });