const slides = document.querySelectorAll('.slideshow img');
let currentIndex = 0;
function showNextSlide() {
slides[currentIndex].classList.remove('active');
currentIndex = (currentIndex + 1) % slides.length;
slides[currentIndex].classList.add('active');
}
setInterval(showNextSlide, 3000);