-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchat.html
More file actions
41 lines (34 loc) · 1.08 KB
/
chat.html
File metadata and controls
41 lines (34 loc) · 1.08 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
<!doctype html>
<html>
<head>
<title>Dojo Chat</title>
<!--
chat.css controls how your page looks.
Play with it if you want to!
-->
<link rel="stylesheet" type="text/css" href="chat.css" />
</head>
<body>
<div class="container">
<h1>Dojo Chat</h1>
<!-- This builds our chat window and message input -->
<textarea id="chat"></textarea>
<form id="message-form" action="#">
<input id="message" type="text" />
<button id="send">Send</button>
</form>
<!--
This loads jQuery, a handy set of tools you can use to make webpages do
things.
-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<!--
This loads the PubNub library, which lets us talk to everybody in the
chatroom.
-->
<script src="http://cdn.pubnub.com/pubnub-3.4.min.js"></script>
<!-- chat.js controls how your chat client works. -->
<script type="text/javascript" src="chat.js"></script>
</div>
</body>
</html>