document.querySelectorAll('.btn').forEach(button => { button.addEventListener('click', () => { document.getElementById('clickSound').play(); }); }); // Array of profile picture images const images = ['1.jpg', '2.jpg', '3.jpg','4.jpg','5.jpg','6.jpg']; let currentIndex = 0; // Function to cycle through images function cycleProfilePicture() { document.getElementById('pfp').src = images[currentIndex]; currentIndex = (currentIndex + 1) % images.length; // Loop back to first image } // Change image every 3 seconds setInterval(cycleProfilePicture, 1000);