Could you please help me understand the error message below?
I'm not very familiar with JavaScript.
Uncaught TypeError: $(...).sss is not a function
at HTMLDocument.<anonymous> (codejs.js:3)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.J (jquery.min.js:2)
(anonymous) @ codejs.js:3
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
J @ jquery.min.js:2
This is an excerpt from my index.html
<script src="{% static 'js/sss/sss.min.js' %}"></script>
<script src="{% static 'js/jquery.min.js'%}"></script>
<script src=" {% static 'js/codejs.js' %}"></script>
In my codejs.js file, I am trying to use the slider feature called sss
$(function($) {
$('.slider').sss();
});
Thank you