-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (35 loc) · 1.79 KB
/
Copy pathindex.html
File metadata and controls
40 lines (35 loc) · 1.79 KB
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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Slider Puzzles - Invariant State Demo</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h2 class="puzzle-completed" id="puzzleCompletedMessage">Huzzah!!</h2>
<div class="puzzle" id="puzzle"></div>
<section id="stateDisplay" class="state-display">
<h3 class="state-index">
<span id="formIsValid"></span>
<span>Move # : </span><span class="state-index" id="stateIndexDisplay"></span></h3>
<span class="controls">
<button id="backStateButton" class="back-state-button" tabindex="10">←</button>
<button id="resetStateButton" class="reset-state-button" tabindex="11">Reset</button>
<button id="shuffleButton" class="shuffle-state-button" tabindex="11">Shuffle Tiles</button>
<button id="forwardStateButton" class="forward-state-button" tabindex="12">→</button>
<label class="new-sequence-label">
<span>Puzzle Size : </span>
<input id="puzzleSize" class="state-number-box" type="number" min="3" max="6" step="1" tabindex="1" value="3" />
</label>
</span>
</section>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ramda/0.26.1/ramda.min.js" integrity="sha256-43x9r7YRdZpZqTjDT5E0Vfrxn1ajIZLyYWtfAXsargA=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/6.5.3/rxjs.umd.min.js" integrity="sha256-opvkRN8JcEjsFLLVkYM5d5n54MuZJBkljuRb5E4sQrk=" crossorigin="anonymous"></script>
<script src="slider-puzzles.js" async></script>
</body>
</html>