diff --git a/websocket-chat-broker/static/index.html b/websocket-chat-broker/static/index.html
index e59e13f1..85afb174 100644
--- a/websocket-chat-broker/static/index.html
+++ b/websocket-chat-broker/static/index.html
@@ -1,90 +1,204 @@
-
-
-
-
-
-
-Chat!
-
- | Status:
- disconnected
-
-
-
-
-
+
+ updateConnectionStatus()
+ })
+
+ $form.addEventListener('submit', (ev) => {
+ ev.preventDefault()
+
+ const text = $input.value
+
+ log('Sending: ' + text)
+ socket.send(text)
+
+ $input.value = ''
+ $input.focus()
+ })
+
+ updateConnectionStatus()
+
+