diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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> |