Possible Error with "Next Dot 1" Lesson



When I attempt to "Save & Submit" my code for the "Previous Slide 2" lesson, I get the following error message: "Oops, try again. Remember to fade out the current slide and remove the 'active-slide' class.." I get this message despite having a line in my code that does remove '.active-slide' from the current dot. Have I missed anything?

 $('arrow-prev').click(function() {
        var currentSlide = $('.active-slide');
        var prevSlide = currentSlide.prev();
        if(prevSlide.length == 0) {
            prevSlide = $('.slide').last();


Change this to 600 in both instances.


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