M
M
Mambli Joe2018-12-11 00:40:23
Slider
Mambli Joe, 2018-12-11 00:40:23

Why doesn't Slick Slider work? What is the problem?

I'm trying to install Slick Slider. I do everything as described on the site
/

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" type="text/css" href="slick/slick.css"/>
  <link rel="stylesheet" type="text/css" href="slick/slick-theme.css"/>
</head>
<body>
  <div class="slider">
    <div><img src="img/p1.png" alt=""></div>
    <div><img src="img/p2.png" alt=""></div>
    <div><img src="img/p3.png" alt=""></div>
  </div>
  <script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script>
  <script type="text/javascript" src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
  <script type="text/javascript" src="slick/slick.min.js"></script>
    
   <script>
 
    
 $(document).ready(function(){
  $('.slider').slick({
    
  });
});

  </script>
  
 
</body>
</html>

But when the page is launched, it takes a very long time to load and gives out this. 5c0edd2f5d7b7351455319.png
And with this version of the script, the same thing.
$(document).ready(function(){
  $('.slider').slick();
});

And with this If you click on the scripts and styles from the editor, then he goes to them.
$('.slider').slick();

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
A person from Kazakhstan, 2018-12-11
@Mambli-Joe

jQuery not included

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question