-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
127 lines (115 loc) · 3.23 KB
/
index.html
File metadata and controls
127 lines (115 loc) · 3.23 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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!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, maximum-scale=1.0"
/>
<link
href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="css/medium.css" />
<link rel="stylesheet" href="css/large.css" />
<title>Memory Game</title>
</head>
<body>
<header>
<h1>
P<img src="../cursor-icons/closedPokeball.png" />kéMem<img
src="../cursor-icons/closedPokeball.png"
/>ry
</h1>
</header>
<!-- MENU -->
<section id="menu">
<div class="container">
<h2>Main Menu</h2>
<hr />
<button class="play-player">Multi-player</button>
<button class="play-computer">Single-player</button>
</div>
</section>
<!-- PLAYER MENU -->
<section id="player-menu">
<div class="container">
<h2>Multiplayer</h2>
<hr />
<div class="details">
<label for="spelare1input">Player 1</label>
<input
type="text"
id="spelare1input"
placeholder="Name..."
maxlength="8"
required
/>
<label for="spelare2input">Player 2</label>
<input
type="text"
id="spelare2input"
placeholder="Name..."
maxlength="8"
required
/>
<button class="startPlayer">Press Start 2P</button>
</div>
</div>
</section>
<!-- COMPUTER MENU -->
<section id="computer-menu">
<div class="container">
<h2>Singleplayer</h2>
<hr />
<div class="details">
<label for="text">Player</label>
<input
type="text"
id="spelare3input"
placeholder="Name..."
maxlength="8"
required
/>
<label>Computer level</label>
<button class="lvl-easy">Easy</button>
<button class="lvl-hard">Hard</button>
<button class="startComputer">Press Start 2P</button>
</div>
</div>
</section>
<!-- GAME MENU -->
<section id="game">
<div class="container">
<div class="game-box"></div>
<aside>
<div class="history">
<div class="left-column">
<h2>Scores</h2>
<p class="spelare1poäng"></p>
<p class="spelare2poäng"></p>
<button class="reset">Reset</button>
<button class="quit">Quit</button>
<audio controls>
<source
class="pokeTheme"
src="../pokemon-sounds/PokemonTheme.mp3"
type="audio/mpeg"
/>
</audio>
</div>
<div class="right-column">
<h3>History</h3>
<hr />
<div class="history-content"></div>
</div>
</div>
</aside>
</div>
</section>
<footer></footer>
<script src="index.js"></script>
</body>
</html>