Responsive carousel

I've created this carousel, with the help of js, html and css. Functionality seems to work. But when I try to adjust the code so that when there is no more cards on left or right respective arrow should disappear. Right now it just loops. Another q: Is it possible to update this to a responsive carousel? Normal page load is 3 * 3 tile. But the screen size is small then maybe 2 * 2 or something like that to adapt the changes. Codepen: https://codepen.io/Abhi1234567890/pen/yLxLGXV
1 Reply
OmIsCool
OmIsCoolOP2y ago
Anyone to help ? I managed to add the functionality to disable and enable the arrows. But still struggling with responsiveness
Want results from more Discord servers?
Add your server