Interactive Website: Flipboard // Next Dot 1


Been working on the next dot 1 exercise for awhile and kept getting the message "Oops, try again. Remember to remove '.active-dot' from the current dot."

var main = function () {
    $('.arrow-next').click(function() {
        var currentSlide = $('active-slide');
        var nextSlide =;
        var currentDot = $('.active-dot');
        var nextDot =;
        if (nextSlide.length == 0) {
        nextSlide = $('.slide').first();


T.T Not sure what I'm missing after combing through my code and redoing the exercise over and over...


Hi Antoniatran,

You need to close your main function with a closing curly brace (}) placed on the next to last line :slightly_smiling: