The reason JS gives people that feeling is mostly because of the following characteristics:
1: The knowledge itself is very abstract, obscure, such as: closures, built-in objects, DOM.
2: A lot of content, such as function library, object library is a lot of.
3: Mix a variety of programming ideas.
4: After hard study and seemingly and practical application disjointed.
Usually after a long time of the JS Foundation, variables, functions, objects You are also knows, but one to the company development projects, but it is difficult to start. Because companies in the development of actual projects are usually directly using its derivative library, such as: Jquery,angular,boostrap, and so on, and these libraries are a plethora of, but also have their own difficulties. So that you do not know which good to learn, and even began to doubt life, there are wood!
Let's talk about the error of Learning JS: Don't learn JavaScript like this
Don't start out in the stacks of JavaScript online tutorials, which is the worst way to learn. It may be a bit of a success after you've seen countless tutorials, but it's really inefficient to learn a thing in a hierarchical way, and you'll get stuck frequently when you actually build a Web site or web App with JavaScript. In general, this learning approach makes it hard to know how to use language as a tool-as a personal tool.
In addition, one might suggest starting with JavaScript in the language of JavaScript, written by the venerable JavaScript godfather Douglas Crockford. However, although Mr. Crockford knows JavaScript, and is known as the JavaScript World Einstein, his "JavaScript language essence" is not suitable for beginners to learn. This book does not articulate, clear, and clear the core concept of JavaScript. But for more advanced learning routes, I'd suggest you look at Mr. Crockford's video.
Also, don't learn JavaScript from websites like Codecademy, because even if you know how to write a bunch of small snippets of JavaScript code, you can't learn how to build a Web application. Even so, I would recommend Codecademy as a supplementary learning resource later on.
How should we learn JS?
All roads lead to Rome, the following is the recommended line of small series
A:JS basic parts, such as: defining variables, functions, arrays, strings, etc., built-in functions, built-in objects, and so on.
B:JS oriented process programming ideas, encapsulating the various functions, try to do some common small functions, such as: tab, custom Multi-select button, custom player, 3D slide;
How to easily and quickly learn JavaScript
C:js object-oriented programming idea, try to encapsulate some of your own objects, provide a meaningful interface out;
D: Learn the above content, and then learn the common library, here must learn jquery;
E: Learn about common plugins based on jquery, such as: Bootstrap,layer, Rich text editor, etc.
F: Comprehensive application of the above multi-Library to write the actual project template, write several sets.
How do you learn JavaScript quickly and easily?