Build a basic chat room. The purpose of this exercise is to practice getting user input and manipulating the DOM through javascript with jQuery.
Requirements:
- Must have a form
- this form must have at least 2 fields
- an input field for username
- a textarea field for the message to send to the chat room
- this form must have a submit button
- when the user clicks on this button it must send the text along with the username to the chatroom's log
- after the click, the textarea is cleared but the fields with the username must remain unchanged.
- this form must have at least 2 fields
-A window for all messages to appear. (hint: an Unordered List, with list elements (messages), inside of a div)
Bonus:
- Add a timestamp
- Add fancy styles!