The idea is quite simple, each dots is a link
Each link points to
#1
,
#2
or
#3
(or more)
If the link points to
#2
, click on it, it will target
#3
data-slide="#"
on
.slider
indicates the active slide