Suppose you have the FORM and DIV below. A user enters thei…
Suppose you have the FORM and DIV below. A user enters their name in the INPUT and then presses the BUTTON. Your name: Check Write the function process(). It should write a message in the output DIV that says “Who are you?” when the user leaves the INPUT empty “NAME has entered the room” if there is at least one character in the field. Replace NAME with what the user typed. For example, it the user entered Elvis in the form, the message would be Elvis has entered the room For example, if I entered John in the INPUT and then pressed the button, the message in the DIV would be John has entered the room.