I am currently working on creating an image slider that fetches images from placekitten. My goal is to make it versatile enough to accommodate different image sizes. The slider should display a small description of the image at the bottom, the name of the image at the top, and have navigation buttons sliding in from the top upon hover.
However, I am experiencing two main issues:
1. Despite several attempts using jQuery, I have been unable to successfully implement toggles. It appears that the problem may be related to the presence of buttons for each image. How can I change the image title while maintaining the same button functionality?
2. I am also looking for a way to ensure that the description field expands accordingly as the text length increases.
This is my current progress. Additionally, I am wondering if there are any user-friendly libraries available to simplify this task.