Basic Web Technologies

Chat: Event Handling

Use the JavaScript file chat.js that provides functions to manipulate users and messages.
Embed JavaScript code into the HTML pages of the chat application such that users and messages can be added dynamically.