For Bootstrap carousel, $('.carousel').carousel('___') method in jQuery is used to cycle through elements.
- 'slide'
- 'cycle'
- 'next'
- 'animate'
The correct method is $('.carousel').carousel('next'). This method advances the carousel to the next item in the sequence.
Loading...
Related Quiz
- What is the primary purpose of using modals in Bootstrap?
- The ___ class in Bootstrap is used for creating inline lists in a navigation bar.
- What is the difference between 'container' and 'container-fluid' classes in Bootstrap?
- When integrating Bootstrap with React, the Bootstrap ___ file must be imported to React components.
- Explain how you would use JavaScript to enhance the accessibility features in a Bootstrap navbar component.