Please help


#1

i am having a lot of problem with problems with semi colens and brackets() and curly brackets{ }. please help me with how to use them


#2

Hi do you mean something like that ?

$(document).ready(function() {
  $('div').hide();  
});

from the first Lesson

you have..

$(document)

then

.ready();

like you can see .read() got two breakets then you will always put inside .ready()

function(){ #open the function

} #close the function

a function has always two two brackets and two curly brackets so when you put that function inside the .ready() it's look like that

.ready(function(){..});

which is..

.ready( #open ready
    function(){#open the function

    }#close the function
);#close ready