When doing the code in jQuery for a website, I came across the error "use strict"
. This error happens more exactly in the line 2% with% do not letting it execute. I needed help resolving it if possible.
$(document).ready(function() {
$('jq--secaaestcb').waypoint(function(direction) {
if (direction === "down") {
$('nav').addClass('nav-scroll');
} else {
$('nav').removeClass('nav-scroll');
}
}, {
offset: '60px;'
});
});