-
Notifications
You must be signed in to change notification settings - Fork 0
/
wordgame.html
32 lines (28 loc) · 926 Bytes
/
wordgame.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
<head>
<title>Word viewer</title>
<meta content="width=device-width, initial-scale=1" name="viewport">
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//rawgithub.com/timrwood/moment/2.1.0/min/moment.min.js"></script>
</head>
<body>
<div id="game">
{{> game}}
</div>
</body>
<template name="game">
{{> viewWord}}
<nav class="navbar navbar-default navbar-fixed-bottom" role="navigation">
<ul class="nav navbar-nav">
{{> scoreBoard}}
</ul>
</nav>
</template>
<template name="viewWord">
<h1>{{word}}</h1>
</template>
<template name="scoreBoard">
<li><a href="#"><h2>Score: {{score}}</h2></a></li>
<li><a class="btn btn-lg btn-success next-btn">Guessed it</a></li>
<li><a class="btn btn-lg btn-danger skip-btn">Skip</a></li>
</template>