Search code examples
javascripthtmlcssjquery-ui-slidercodepen

My animation is not working in this slider which I made using html, css, js


<https://codepen.io/samyakjain20/pen/dyMmaYj>

This is what I tried!, tried to integrate two slider designs mentioned below. The gesture animation which is there in the 1st link is not working in my slider.

https://codepen.io/codewunder/pen/Bnspb/

https://codepen.io/maheshambure21/pen/qZZrxy

I think the error is in JavaScript but I don't know how to solve. If you have seen something similar to this then also please mention it.


Solution

  • Just click in the cog icon on the JavaScript panel, and add the jQuery CDN link https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js

    This error is because the jQuery library is not found in your code.

    enter image description here