No products found.
<div class=”slider”>
<div class=”slide”>
<a href=”https://www.amazon.com/dp/B08P16S3ZM”>Spontuneous – The Worst-CASE Scenario Card Game: B08P16S3ZM</a>
</div>
<div class=”slide”>
<a href=”https://www.amazon.com/dp/B010TQY7A8″>Exploding Kittens: B010TQY7A8</a>
</div>
<div class=”slide”>
<a href=”https://www.amazon.com/dp/B014Q1XX9S”>Codenames: B014Q1XX9S</a>
</div>
<div class=”slide”>
<a href=”https://www.amazon.com/dp/B00004TZY8″>UNO: B00004TZY8</a>
</div>
<div class=”slide”>
<a href=”https://www.amazon.com/dp/B00U26V4VQ”>Catan: B00U26V4VQ</a>
</div>
</div>
<style>
.slider {
width: 100%;
overflow: hidden;
}
.slide {
width: 100%;
display: none;
text-align: center;
font-size: 20px;
}
</style>
<script>
let currentIndex = 0;
const slides = document.querySelectorAll(‘.slide’);
function showSlide(index) {
slides.forEach((slide, i) => {
slide.style.display = i === index ? ‘block’ : ‘none’;
});
}
function nextSlide() {
currentIndex = (currentIndex + 1) % slides.length;
showSlide(currentIndex);
}
setInterval(nextSlide, 3000);
showSlide(currentIndex);
</script>