Lesson 4 and 5


I'm using same code at lessons 4 and 5 but at lesson 5 preview doesn't work. At lesson 4 code works without any problem. Why so?

var main = function(){

            var currentSlide = $('.active-slide');
            var nextSlide= currentSlide.next();
            if(nextSlide.length == 0){




Hi @justbro95,

Are you getting any error messages too, or is the code just not doing anything?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.