finish lab
This commit is contained in:
13
chat.html
13
chat.html
@ -3,14 +3,21 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>WebSocket Chat exercise</title>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
<style>
|
||||
#chatlog {
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
font: 10pt Ubuntu;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<textarea id="chatlog" readonly></textarea><br/>
|
||||
<input id="msg" type="text" />
|
||||
<button type="submit" id="sendButton">Send!</button>
|
||||
<button type="submit" id="closeButton">End</button>
|
||||
|
||||
<script src="jquery-3.3.1.js"></script>
|
||||
<script src="chat.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user