I get this from console, Uncaught ReferenceError: $ is not defined(anonymous function) @ function.js:2 ..
this is my js code
$(function() {
mobileNav();
});
function mobileNav() {
$('.mobile-btn').on('click', function(){
var status = $(this).hasClass('is-open');
if(status){ $('.mobile-nav-toggle, .mobile-btn').removeClass('is-open'); }
else { $('.mobile-nav-toggle, .mobile-btn').addClass('is-open'); }
});
}
on local host everythings gone well, but on the server i got this js error..
<script src="/js/jquery-2.1.4.min.js" type="text/javascript"></script>
<script src="/js/function.js" type="text/javascript"></script>