How to make a slider?

How to make a slider? (preferably slick)

Don't understand how to make this line that is responsible for the active slide.

Maybe there are examples where this already implemented?
April 7th 20 at 10:48
1 answer
April 7th 20 at 10:50
In the slick of the active slide is given the class slick-active

Accordingly, you can simply set the style

#MYSLIDER .slick-active .MYLINE {
 here is the style your line

Find more questions by tags CSSJavaScriptHTMLLayoutSlick