Implementation function:
1. A classmate asked me to implement a function like PHP. Enter a number in the form, and then the corresponding number will appear on the web page. If it is PHP, it will be much simpler. Jquery implementation is still the first. I started experimenting like crazy, and finally realized it (knowledge points: Jquery creates nodes, gets form values, loop statements)
Jquery code: