+ 1
I have created automatic slideshow only using javascript and html.it's showing only 2 slides instead of 5 ...please help
2 Answers
+ 12
You are calling divPlus() recursively by using the setTimeout() method inside that function, also you are not using an event to check if all DOM elements are ready to use and you did not call the divPlus() function.
https://code.sololearn.com/WwYWtDYi7R9Z/?ref=app
0
Thanks a lot.