0

I tried changing the interval of my Bootstrap 4 carousel with the following jQuery but didn't got any output. Please let me know what I am missing.

enter image description here

$('.carousel').carousel({
    interval: 100
});
isherwood
  • 58,414
  • 16
  • 114
  • 157
  • https://stackoverflow.com/questions/25147394/how-to-change-the-interval-time-on-bootstrap-carousel – Adesh Kumar Jun 08 '22 at 14:24
  • 3
    As noted in the link above, it *appears* that what you are doing is correct. Please edit your question to add a complete snippet (can be daunting on the first try). It needs to include enough HTML (not an image) and links to jquery and the carousel plugin to demonstrate the issue. – freedomn-m Jun 08 '22 at 14:29
  • *didn't got any output* - so when you add the interval, it stops working completely? Does it work without the `{ interval:100 }`? Does it work without the `.carousel` js line (ie run from data- attributes)? Is there no output because you've added `d-none` class? – freedomn-m Jun 08 '22 at 14:31
  • Please do not share pictures of code. Instead, copy and paste it here. – Ethan Jun 14 '22 at 23:27

0 Answers0