Next slide 1 exercise - fault with code or fault with site?


Hi all,
I've followed the hint and the code still doesn't pass. After reading the threads I think its the codeacademy site. Anyone have suggestions for how I move on to the next exercise with the correct code? Here's what I have below.

var main = function(){

$('.arrow-next').click(function() {
var currentSlide = $('.active-slide');
var nextSlide =;






Hi Sunnyjeans,

You need to close the function you've opened on line 2 before the next one. You can do that by moving line 12 up to line 4 :)


Hi Zystvan. Thank you :smile: