Previous Slide2, can't find error


This is a request for help on the Ninth exorcise on Interactive Website: Flipboard.

Whenever I run the code an erroneous messages appears saying : "Oops, try again. Remember to fade in the previous slide and add the 'active-slide' class." To my knowledge, I have correctly faded the previous slide out. This is very confusing, and even more-so, frustrating. Please help me, even if it is to progress beyond this by simply giving me the code, which I'd rather not happen.

var main = function(){
        var currentSlide = $('.active-slide');
        var nextSlide =;
        var currentDot = $('.active-dot');
        var nextDot =;
        if(nextSlide.length == 0){
         nextSlide = $('.slide').first();   
         nextDot = $('.dot').first();
        var currentSlide = $('.active-slide');
        var prevSlide = currentSlide.prev();
        if(prevSlide.length == 0){
         prevSide = $('.slide').last();   


Please Ignore This For I Have Found My Error. (missing l in prevSlide)


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