-1
I have a problem: when climbing the site, my javascript did not run. Follow the source code.
This code is inside the body
<script type="text/javascript" src=".//js/code.jquery"></script>
<script type="text/javascript" src=".//js/jquery-migrate.js"></script>
<script type="text/javascript" src=".//js/slick.min.js"></script>
<script type="text/javascript" src="./js/main.js"></script>
<div class="col-100">
<div class="slider-principal">
<img src="./img/slide_1.jpg"/>
<img src="./img/slide_2.jpg"/>
<img src="./img/slide_3.jpg"/>
<img src="./img/slide_4.jpg"/>
<img src="./img/slide_5.jpg"/>
<img src="./img/slide_6.jpg"/>
</div>
</div>
js/main.js
$('.slider-principal').slick({
dots: true,
infinite: true,
speed: 300, /*Velocidade do Slide*/
slidesToShow: 3, /*Quantidade de slides passando por vez*/
autoplay: true,
autoplaySpeed: 3000
});
Did the answer solve your problem? Are there any questions pending? If the question is solved, consider accepting the answer. See more details at How and why to accept an answer?
– Rafael Tavares