summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/index.html b/index.html
index d19303c..39812e9 100644
--- a/index.html
+++ b/index.html
@@ -7,6 +7,9 @@
</head>
<body>
<h1>History Bible Game</h1>
+ <div id="go-button">
+ <button>Start</button>
+ </div>
<div class="container">
<ul class="bible-game sortable" id="source">
<li data-index="0">Genesis</li>
@@ -34,9 +37,12 @@
<script src="jquery.min.js"></script>
<script src="jquery-ui.min.js"></script>
<script src="game.js"></script>
- <script>
+ <script>
$(function() {
+ $("#go-button button").click(function() {
+ $(this).text("Restart");
startGame("#source", "#target", "#message");
+ });
});
</script>
</body>