Why slick slider does not want to work?

I have a 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>

Is JS:
$('.slick-slider').slick();
But he doesn't want to work, instead, he flies outside the window, I have enabled the option dots, but when I press the 2 point slider even more flies at the window.
First time face the such. Thanks in advance for the answer.
April 3rd 20 at 18:54
1 answer
April 3rd 20 at 18:56
Wrap it in a block with a position relative and a certain width

Find more questions by tags JavaScriptjQuerySlick