All js files of the website are converted into other files, which are called by link during use.
All website styles use CSS to the maximum extent. CSS files are converted into files, which are called externally during use.
If js and css cannot implement external calls, place them at the bottom of the program.
Do not judge cyclically on the same page
Avoid using N multiple trigger events on the same page
It is best to keep the size of a page within 30 KB
Try to achieve the same effect with the smallest part of the program code
Reduce the usage frequency of cursors as much as possible
The following principles should be followed for code optimization:
Delete "space characters in/blank lines before each line of code starts"; "do not add comments that will not affect the readability of the source code even after deletion "; deny refers to the existence of a "null statement" between codes, that is, there is no tag of any content between tags; every necessary gaze should use the relevant keywords/words;