blob: 4f47476e373c34e665d99de576aa7f3e852076ef (
plain) (
blame)
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
|
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="../style.css">
<title>Toggle</title>
</head>
<body>
<h1>Heat Toggle Demo</h1>
<nav>
<a href=".."><button>Home</button></a>
</nav>
<p>Try to beat the computer :)</p>
<!-- <button id="test_bttn" onclick="toggle_screen()">Test Button</button> -->
<main>
<section id="optionsScreen" class="screen">
<h2>Options</h2>
<div>
<label for="graphOrder">Select a number of vertices for a path:</label>
<input type="number" name="graphOrder" id="graphOrder" defaultValue=7 min=1 max=30 placeholder="Enter a value (1-30)"></input>
</div>
<button onclick="startGame()">Play</button>
</section>
<section id="gameScreen" class="screen inactive">
<h2>Game</h2>
<div id="game">Loading...</div>
<script src="game.js"></script>
</section>
</main>
</body>
</html>
|