How to load slick.js from CDN

slick cdnSlick




I gather CDN of slick.js which can make slider easily.
CSS is also included in below code, so it is easy to adjust style of slider.
JQuery is also included because slick.js requires it.



<!--------------------CSS------------------------------------------------------------------------------------------>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick-theme.css">
<!---------------------------------------------------------------------------------------------------------------- > 

<!--------------------jQuery-----------------------------------------------------------> 
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!------------------------------------------------------------------------------------->  

<!-------------------JS---------------------------------------------------------------->  
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.9.0/slick.min.js"></script>
<!-------------------------------------------------------------------------------------> 


Please refer below link if you want to know how to use slick.js.
How to make Caroucel Slider with Slick.js【only 4 steps】

Comments

Copied title and URL