1 min readMar 20, 2019
Remove the code that cloned the first and the last slider items, and do the math again without the 2 extra slides. No need to jump to the clones when you are at either end of the slider.
Remove the code that cloned the first and the last slider items, and do the math again without the 2 extra slides. No need to jump to the clones when you are at either end of the slider.
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app
Frontend Unicorn. I 💖 CSS & JavaScript. My brain occasionally runs out of memory so I need to pen down my thoughts. ✨💻🦄🌈.y.at