forked from meghprkh/socket-buzzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
question.html
46 lines (41 loc) · 1.46 KB
/
question.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
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<title> HackIn</title>
<script src="js/jquery.min.js"></script>
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/prism.css">
<!-- Latest compiled and minified JavaScript -->
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery-latest.min.js"></script>
<script type="text/javascript" src="js/TweenMax.min.js"> </script>
<script type="text/javascript" src="js/cooltext-animations.js"></script>
<script type="text/javascript" src="js/cooltext.js"></script>
<script type="text/javascript" src="js/prism.js"></script>
<link rel="stylesheet" href="css/myStyle.css">
</head>
<body>
<div class="well" id="question_container">
<i style="font-size:80px;" class="fa faa-burst animated"></i>
<i class="fa fa-quote-left fa-3x fa-pull-left fa-border"></i>
<br/>
<p id="question">
</p>
</div>
<script src="/socket.io/socket.io.js"></script>
<script src="./jquery-1.11.1.js"></script>
<script>
var socket = io('/public');
socket.on('newQuestion', function(question) {
$('#question').html(question)
Prism.highlightAll();
})
</script>
</body>
</html>