-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (41 loc) · 1.29 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
<!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>Cards</title>
<meta name="google" content="notranslate" />
<link rel="stylesheet" href="./css/clear.css">
<link rel="stylesheet" href="./css/styles.css">
</head>
<body>
<main class="main">
<div class="settings">
<input type="number" name="squareSize" class="squar-size" id="squareSize" min="2" max="8" step="2"
value="2">
<button class="btn btn-start" id="start">Start</button>
<button class="btn btn-reset" id="reset">Reset</button>
</div>
<div class="type_game">
<label for="type_number">
<input type="radio" name="type_game" id="type_number" checked="checked" data-typeGame="number">
Number
</label>
<label for="type_image">
<input type="radio" name="type_game" id="type_image" data-typeGame="image">
Image
</label>
</div>
<div class="counter-section">
Number of attempts: <span class="counter" id="counter">0</span>
</div>
<div class="field hide" id="field"></div>
<div class="congratulation" id="congratulation">
<p>You won!</p>
<span>the game will restart.</span>
</div>
</main>
<script src="./js/main.js"></script>
</body>
</html>