Length 59:24How to code a carousel with HTML, CSS and JavaScript - from scratch (part 2)
About this video
A JavaScript tutorial continuing a carousel build: it wires up arrow and dot navigation, arranges the slides and keeps the dots in sync with the current slide. It assumes the markup and CSS are already in place.
What you’ll learn
- Declare the variables a carousel script needs
- Wire arrow buttons to move between slides
- Sync dot navigation with the active slide










