I am in the process of creating my own portfolio to showcase my work. I have implemented a feature where clicking on an image opens up a Bootstrap carousel.
However, I'm facing an issue where the carousel doesn't always start with the first image as intended. Sometimes it starts with another image, and when you close and reopen it, it resumes from where you left off instead of starting from the beginning.
The <div class="item active">
element doesn't seem to be functioning correctly. This problem might be due to having multiple carousels on the same page. How can I solve this?
Thank you.