Answer the question
In order to leave comments, you need to log in
Anything easier than javascript.ru?
I want to learn JS, many recommend javascript.ru. I got to the section on closures and scope and realized that I did not understand anything. I can't complete tasks.
Therefore, I am looking for material for learning JS, but easier than the above resource. JS is needed in order to draw interfaces as a hardcore encoder, there is no task.
I have neither a programmer nor a mathematical education, so I need material without references to other programming languages.
Answer the question
In order to leave comments, you need to log in
Hello, I'm a function. You can not only announce me, you can also transfer or return me, like this for example:
function blabla(){
return function(){
...делаются веселости
}
}
var veselosti = blabla();
- that is, I said: hey, the function blabla anu ka has completed! And she's like, OK, and returned another function. function blabla(){
var gosTaina ="тсс, не говори никому";
return function(){
...делаются веселости
}
}
function blabla(){
var gosTaina ="тсс, не говори никому";
return function(){
gosTaina + = "!";
console.log(gosTaina);
}
}
var veselosti = blabla();
veselosti(); //выведет "тсс, не говори никому!"
veselosti(); //выведет "тсс, не говори никому!!"
veselosti(); //выведет "тсс, не говори никому!!!"
veselosti(); //выведет "тсс, не говори никому!!!!"
If you know English, you can try out video courses, ala:
https://teamtreehouse.com
https://www.codeschool.com/
etc.
But this, of course, is not a panacea.
For interfaces, maybe jquery will suffice? Javascript.ru is still designed for programming.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question