-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (57 loc) · 2.51 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!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">
<title>MEMORY GAME</title>
<script src="scripts/validateForm.js"></script>
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/x-icon" href="media/favicon.ico">
</head>
<body>
<div class="allForm">
<h1 class="title">MEMORY GAME</h1>
<div class="form">
<!--Init the form in html-->
<form name="initialform" action="party.php" method="post" onsubmit="return validate();">
<!--Number of players-->
<div class="config">
<p class="ftitle">PLAYERS</p>
<!-- Name of players -->
<input type="text" name="player1" class="textbox" placeholder="PLAYER">
<input type="text" name="player2" class="textbox" placeholder="PLAYER">
<input type="text" name="player3" class="textbox" placeholder="PLAYER">
<input type="text" name="player4" class="textbox" placeholder="PLAYER">
</div>
<!--Get the size of a panel-->
<div class="panel">
<div id="value">
<p class="ftitle">X</p>
<input type="range" id="rangeInput" value="6" name="fx" min="2" max="6" oninput="this.nextElementSibling.value = this.value" required>
<output for="fx" id="output">6</output>
</div>
<div id="value">
<p class="ftitle">TIME</p>
<input type="number" id="timeinput" name="ftime" value="5" min="5" max="10" required>
</div>
<div id="value">
<p class="ftitle">Y</p>
<input type="range" id="rangeInput" value="5" name="fy" min="2" max="5" oninput="this.nextElementSibling.value = this.value" required>
<output for="fy" id="output">5</output>
</div>
</div>
<br>
<select id="difficulty" name="difficulty">
<option id="option" value="planets">planets</option>
<option id="option" value="ovnis">ovnis</option>
</select>
<br>
<!--Submit button-->
<input class="button" type="submit" value="PLAY">
<a href="ranking.php" class="button">RANK</a>
</form>
</div>
</div>
</body>
</html>