I chose jQuery, mainly because of its idea of "write less, do more", because I am a picky person. I will look through the code I have written before from time to time to see if there is anything that can be streamlined and optimized. Firstly, it promotes continuous learning, and secondly, new ideas and technologies can be applied to it.
The writing method of jQuery plug-in has been introduced before, and there are many examples on the Internet. Here is a brief description of some writing methods, mainly abbreviations, see the following code: