Lesson 6 next dot 1


My code of this lesson is same as that of Catherine ,Nicolos Terol andTag solver 10154,anthony paulus is passed but my code is not passed showing same remark in the Editor.
Why it is so.pl check my code and tell mvar main = function() {
$('.dropdown-toggle').click(function() {
$('.arrow-next').click(function() {
var currentSlide = $('.active-slide');
var nextSlide = currentSlide.next();
var currentDot = $('.active-dot');
var nextDot = currentDot.next();

if(nextSlide.length == 0) {
    nextSlide = $('.slide').first();




11. previous dot 2: Remember to remove '.active-dot' from the current dot

You have a dot in your class name on the last line of your main function: ".active-dot" should just be "active-dot".