-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (51 loc) · 1.48 KB
/
index.html
File metadata and controls
51 lines (51 loc) · 1.48 KB
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
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Simple Chat</title>
<link href="https://fonts.googleapis.com/css?family=Noto+Sans|Roboto" rel="stylesheet">
<link rel="stylesheet" href="meyers.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
</div>
<div class="top-banner">
<h1 class="title">Simple Chat Room</h1>
</div>
<div id="nick-wrap">
<p>Enter a Username:</p>
<p id="nick-error"></p>
<form id="set-nickname">
<input size="35" id="nickname">
<button type="submit" class="form-button padded-button">Submit</button>
</form>
</div>
<div id="main">
<div id="content-wrap" class="hidden">
<div id="chat-wrap">
<h2 class="title">Chat Room</h2>
<hr>
<ul class="clear">
<li id="chat"></li>
</ul>
</div>
<div id="users">
<h2 class="title">Current Users</h2>
<hr>
<div id="usernames" class="clear">
</div>
</div>
</div>
<div id="message-wrap" class="hidden">
<form id="send-message">
<input id="message" type="text">
<button type="submit" class="form-button">Submit</button>
</form>
</div>
</div>
<script src="https://code.jquery.com/jquery-latest.min.js"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="index.js"></script>
</body>
</html>