Functional implementation:
When users enter text, it would be more user-friendly if the text box they are typing in can be highlighted. We will use jQuery to implement this below.
Implementation principle:
After the document is loaded (ready), add the focus and blur events of the input, and add and delete styles.
Code example: