Files
global.hackathon/Samples/PubNub/index.html
Tomomi Imura 89d4973861 initial commit
2014-11-24 15:51:58 -08:00

35 lines
905 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>PubNub JS API Example : Simple Chat</title>
<meta name="description" content="Simple Chat Room with PubNub API">
<meta name="author" content="Tomomi Imura @girlie_mac">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<h1>PubNub Super Simple Chat</h1>
</header>
<section id="main" role="main">
<div id="chat">
<i id="avatar" class="face12"></i><input type="text" id="input" placeholder="Type your message...">
</div>
<button id="button">Send Message</button>
<div id="output"></div>
</section>
<footer></footer>
<!-- PubNub CDN -->
<script src="http://cdn.pubnub.com/pubnub.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>