-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (47 loc) · 1.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Juego de Memoria</title>
</head>
<body>
<div class="container">
<div id="start-screen" class="start-screen">
<h1 class="gfg-heading">Juego de Memoria</h1>
<form id="user-info-form">
<label for="gender">Género:</label>
<select id="gender" name="gender">
<option value="Masculino">Masculino</option>
<option value="Femenino">Femenino</option>
<option value="Otro">Otro</option>
</select>
<br><br>
<label for="age">Edad:</label>
<input type="number" id="age" name="age" min="1" max="120" required>
<br><br>
<button type="submit" id="start-button" class="start-button">Iniciar Juego</button>
</form>
</div>
<div id="dynamic-cards" class="game-container" style="display: none;">
<div class="heading-container">
<h1 class="gfg-heading">Juego de Memoria</h1>
<h2 class="game-heading">Haz clic en cualquier carta para voltearla!</h2>
</div>
<!-- Contenedor del Temporizador -->
<div id="timer-container">
<p id="timer">5</p>
</div>
<div class="cards-container" id="cards-container">
<!-- Cartas se generan dinámicamente desde JavaScript -->
</div>
<div class="progress-container">
<div class="move-counter">Intentos: <span id="moves-count">0</span></div>
<button id="restart" class="restart-button">Reiniciar</button>
</div>
</div>
<script src="script.js"></script>
</div>
</body>
</html>