-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (30 loc) · 1.24 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- bootstrap cdn -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-- jquery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<!-- socket.io -->
<script src="/socket.io/socket.io.js"></script>
</head>
<body>
<div class="container">
<br />
<div class="jumbotron">
<h1 class="display-4">Send Message</h1>
<br />
<input id="name" class="form-control" placeholder="Name" />
<br />
<textarea id="message" class="form-control" placeholder="Type your message here..."></textarea>
<br />
<button id="send" class="btn btn-success">Send</button>
</div>
<br/>
<div id="messages"></div>
</div>
<script src="script.js"></script>
</body>
</html>