In addition, I improved the javascript part for you. After the user fills in the things, the sentence "Booker cannot be empty" will be changed back to "*".
The circled part is the code I added
As shown in the figure, if you don't enter your name now, you will be prompted "Booker cannot be empty".
It will become "*" after input.