In terms of ease of development, now universal use of jquery, I learn jquery html CSS time is not long, previously written flex.
Css+js+html compose HTML to develop the troika. Learn JS Development I think how to get started is very important. According to my own learning process, I think:
1. Understanding JS Execution Sequence
The 2.js entry is the CS main function, which is the entry to start JS.
3.CSS
4.html Features
Simple introduction JS execution mechanism:
1. Write directly in <script/script>
such as <script>
Alert ("Test")
</script>
After execution, the system directly pops up "test" and the code executes directly.
2.ready package. This means that when the UI of window is loaded, the functions inside the ready are executed, and ready packages are in two ways, essentially just the same.
a.$ (document). Ready (function () {});
b.$ (function () {
Alert ("Test");
$ (selector) ...//This time the feature selector is not empty, if it is written here in Method 1, the feature selector is empty because the page features are not yet loaded.
})
3. (function ($) {}) (JQuery). Plug-in development is here. The meaning is equivalent to function test () {}; Test (). Called directly after it is defined.
Know the execution mechanism to write JS code is much more convenient.
In addition to learning jquery know the simple DOM operation, CSS operation, append elements dynamic addition, basic JS on the go.
CSS can be born skillfully to start from the habit, CSS written in the CSS file. Common CSS styles are written in a CSS style as much as possible.
Getting started with JavaScript HTML jquery