Exercise 9 and 10


#1

Hi guys,

In 'Let's sort things out' and 'A greater selection' my code is accepted, however I'm getting the error:
Uncaught SyntaxError: Unexpected token ;

$(document).ready(function(){
    $('ol').sortable(function();
});

And I can't get the effects to work! Can someone please help me with this? Thank you very much in advance... This forum has been incredibly useful for me already!


#2

Hi Djschutten,

Remove the second function(), it's not needed here. Also, watch your opening parenthesis ((), and make sure they always have a closing one


#3

Ah I see it now, thank you very much for your quick reply!!


#4

No problem! Glad I was able to help you :)