Activity for aya2222
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #283829 | Initial revision | — | about 3 years ago |
Question | — |
setting of translateX for carousel image slider I made carousel image slider by following tutorials. To slide images , I made the below function. ``` const moveToSlide = (track, currentSlide, targetSlide) => { track.style.transform = 'translateX(-' + targetSlide.style.left + ')'; currentSlide.classList.remove("current-slide"); targetSl... (more) |
— | about 3 years ago |