0

Can you please help me see through this auto slideshow code. It keeps showing error"property style not defined". Wat do I change

slides[slideIndex-1].style.display = "block"; dots[slideIndex-1].className += " active"; setTimeout(showSlides, 2000); // Change image every 2 seconds }

12th May 2020, 4:33 PM
Muhumuza Ian
Muhumuza Ian - avatar
3 Respuestas
0
what is in slides?
16th May 2020, 7:07 PM
\•/
\•/ - avatar
17th May 2020, 9:57 AM
Muhumuza Ian
Muhumuza Ian - avatar
0
That is the code, please help me
17th May 2020, 9:58 AM
Muhumuza Ian
Muhumuza Ian - avatar