D
D
Dubolom Unicellular2019-12-23 12:22:26
Slick
Dubolom Unicellular, 2019-12-23 12:22:26

Why doesn't slick-slider want to work?

I have slider:

<div class="slick-slider">
      <div class="slide">
        <h2>1</h2>
      </div>
      <div class="slide">
        <h2>1</h2>
      </div>
<div class="slide">
        <h2>1</h2>
      </div>
    </div>

There is JS: But it does not want to work, instead it flies out of the window, I turned on the dots parameter, but when I press the 2nd dot, the slider flies out of the window even more. Here is the code in the sandbox: https://codepen.io/duboloms/pen/gObmVrV .
$('.slick-slider').slick();

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-12-23
@duboloms

Aren't you embarrassed that there are no styles? And in general in the console 404 on resources? Change the connection version to 1.8.1.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question