I’m trying to create a slide gallery of images. It doesn’t need to run automatically. I just want it to have a previous and next button so the user can navigate manually.
My problem is my code doesn’t work. The NEXT button, it only jumps to the second image and never goes to the remaining image when I try clicking it again. The PREVIOUS button when clicked, should show the last image or the previous one but it doesn’t.