-
Notifications
You must be signed in to change notification settings - Fork 0
/
new.html
73 lines (71 loc) · 2.92 KB
/
new.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script type="module" src="./src/NewGame.js"></script>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="style/style.css" />
<link rel="stylesheet" href="style/mainpage.css" />
<title>New Game</title>
</head>
<body>
<main class="d-flex justify-content-center align-items-center vh-100">
<form id="new-game" class="text-center">
<section class="row justify-content-center mb-3">
<div class="col-8 col-md-6 w-100">
<label for="size" class="form-label">Size: </label>
<input
type="range"
class="form-range"
min="4"
max="15"
step="1"
id="size"
name="size"
/>
</div>
</section>
<section class="row justify-content-center mb-5">
<p id="current-size"></p>
</section>
<section class="row justify-content-center mb-5">
<div class="col-8 col-md-6 w-100">
<label for="difficulty" class="form-label"
>Difficulty:</label
>
<select
id="difficulty"
name="difficulty"
class="form-select"
>
<option value="1">Easy</option>
<option value="2">Medium</option>
<option value="3">Hard</option>
</select>
</div>
</section>
<!-- Updated Section for Button -->
<section class="row">
<div class="col-8 col-md-6 h-100 w-100">
<input
type="submit"
class="btn btn-primary btn-lg"
value="Let's play!"
/>
</div>
</section>
</form>
</main>
</body>
</html>