Quiz
- Can you talk more about what's the difference between carousals and slideshows?
Two different words for the same things, AFAIK.
- Can you go over question 2?
Sure. Here it is:
If you advance a slideshow that has gotten to the last slide. A. there is no effect; you stay on the last slide B. it displays the first slide C. it fades to black D. none of the aboveIn the W3Schools example, it's B. - Could you please explain more about carousel-indicators and the limitations of a carousel?
I'll try. What do you want to know? the indicators are the dots/lines or whatever to indicate where you are and allow people to click on a particular indicator to go directly to that slide. Obviously that doesn't work well if there are many images
The limitations? Do you mean array limits? Or weaknesses? One weakness is that all the images are loaded when the page loads, which would be slow if there are a lot of them. So, maybe you only load a few, and load the others as needed.
- Do the items in a carousel need to be an image? / Can the contents of a carousel be something other than images? Like videos or GIFs?
There are different kinds of carousels, but for most, you just have N HTML elements (including substructure) but you only display 1 of them. So they could be anything.
-
For the section in the reading about Bootstrap dropdowns, just to confirm that to create the dropdown, you need 'dropdown-toggle' in the class and 'dropdown' in data-toggle like this:
<button type=""button"" class=""btn btn-primary dropdown-toggle"" data-toggle=""dropdown""> "
Yes, I think that's right.
- Also, I don't see a dropdown-item for IOS appear even though there is a line for it in the code.
You're right; there's an inconsistency between the code in the reading and the demo. Use "view source" to see the truth.