-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (43 loc) · 1.43 KB
/
index.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
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" type="image/jpg" href="/Media/favicon.ico" />
<link rel="stylesheet" href="style.css" />
<title>Oli's Game of Life</title>
</head>
<body>
<main>
<h1>Oli's Game of Life</h1>
<section class="btn-container">
<button class="create-btn pulse">Create universe</button>
<button class="next-btn pulse hidden">Let there be light!</button>
<button class="restart pulse hidden">Restart</button>
</section>
<ol class="instructions">
<li>Select universe size</li>
<li>Create universe</li>
<li>Click or tap screen to select 'seeds'</li>
<li>Hold control and hover with mouse to rapidly select seeds</li>
</ol>
<p class="generations hidden">Generations: <span id="gen">1</span></p>
<section id="universe"></section>
<div class="dimension-container">
<label for="dimensions">small universe</label>
<input
type="range"
id="dimensions"
name="dimensions"
min="5"
max="55"
step="10"
value="20"
/>
<label for="dimensions">large universe size</label>
</div>
</main>
<script src="app.js"></script>
</body>
</html>