Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (47 loc) · 1.59 KB
/
Copy pathindex.html
File metadata and controls
53 lines (47 loc) · 1.59 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>
Trivia Git & GitHub
</title>
<link rel="stylesheet" href="style.css" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
</head>
<body>
<div class="container">
<h1>Trivia: Git & GitHub
<img src="./github-octocat.svg" alt="GitHub Octocat" class="octocat-title" />
</h1>
<div id="start-screen">
<input type="text" id="player-name" placeholder="Escribe tu nombre" />
<button onclick="startGame()">Comenzar</button>
</div>
<div id="quiz" class="hidden">
<div id="question"></div>
<div id="options"></div>
<button onclick="nextQuestion()">Siguiente</button>
</div>
<div id="result" class="hidden">
<h2>¡Juego terminado!</h2>
<p id="score"></p>
<button onclick="showRanking()">Ver Ranking</button>
<button onclick="restartGame()">Volver a jugar</button>
</div>
<div id="ranking" class="hidden">
<h2>Top 10</h2>
<ul id="ranking-list"></ul>
<button onclick="goToStart()">Volver al inicio</button>
</div>
</div>
<script src="questions.js"></script>
<script src="ranking.js"></script>
<script src="script.js"></script>
<footer>
<p>🛠️ Proyecto educativo y colaborativo sobre Git & GitHub. No afiliado con GitHub Inc.</p>
<p>❤️ Hecho con cariño por Daniela Silvana Tochi y compañerxs. ¡Sumate!</p>
</footer>
<img src="./github-octocat.svg" alt="GitHub Octocat" class="octocat-deco" />
</body>
</html>