Quiz
- What is the difference between slideshow and carousel? Mainly, when would you use slideshow and when would you use carousel?
There is no difference. In this context, they are synonyms.
Bootstrap calls them carousels, and W3Schools calls them slideshows.
If you are using Bootstrap already, you could use their carousel feature.
- when doing a slideshow using setInterval, why would if be more preferable to use setInterval over timeOut. What difference would it make on the toggle ability of slides to go on and off
I find the coding more convoluted with
setTimeout
. Contrast: - Is the question ""If you advance a slideshow that has gotten to the last slide"" based on what would be write in javascript and CSS? Does the default have any effect?
The behavior is entirely up to the JavaScript code.
In the case in the reading, the examples all go back to the first slide.
- Can you further explain the javascript of Carousel? Thank you!
I'd be glad to go over it!