-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (33 loc) · 1.16 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
35
36
37
38
39
40
41
<!DOCTYPE html>
<html lang="en">
<head>
<title>Chat</title>
<meta charset="UTF-8">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>💬</text></svg>">
<link rel="stylesheet" href="style.css">
<script src="/socket.io/socket.io.js" defer></script>
<script src="./app.js" defer></script>
</head>
<body>
<form id="name">
<input type="text" autocomplete="off" placeholder="Name...">
<button type="submit">Change name</button>
<button id="gifs">GIF</button>
</form>
<div id="messages"></div>
<form id="form" action="">
<input id="input" autocomplete="off" autofocus placeholder="Message..."/>
<button>Send</button>
</form>
<audio src="./new-message.mp3" id="newMessageSound"></audio>
<div id="gifs-place">
<form>
<input type="text" placeholder="Search for gifs">
<button type="submit">Search</button>
</form>
<div id="gifs-container"></div>
<button class="close">Close</button>
</div>
<p class="peopleConnected"><span></span></p>
</body>
</html>