Why variables?


#1

Hello! I don't understand this. If someone could explain to me it exercise? Why variables? Write is var? And $target - where did that come from? It is a new created name or constant command?

I have been learn English since one year and sometimes I have a bit problem to understand it.
It is clear for me this:
$(document).ready(function()
{
//my code
}

Thank you for explanation :wink:


3 variable target
#2

var is JavaScript, which you should probably learn before jQuery. jQuery is an extension library for JavaScript.