-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (55 loc) · 2.33 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
66
67
68
69
<!DOCTYPE html>
<html lang="es">
<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">
<!-- <link rel="shortcut icon" href="img/" type="image/x-icon"> -->
<link rel="shortcut icon" href="img/piedra.png" type="image/x-icon">
<title>Piedra, papel o tijera</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<header>
<h1>Piedra, papel o tijeras</h1>
</header>
<section class="container-reset">
</section>
<section class="container-main-result">
<div class="container-result">
<img class="reset"src="img/restart.svg" alt="Botón para restaurar la partida" onclick="reset()">
<div class="result">
<div class="container-figure">
<p>Tú</p>
<img src="img/pregunta.svg" class="human-image" alt="Tu elección">
</div>
<div class="container-score">
<p class="human-score">0</p>
</div>
<div class="container-vs">
<p>VS</p>
</div>
<div class="container-score">
<p class="machine-score">0</p>
</div>
<div class="container-figure">
<p>Máquina</p>
<img src="img/pregunta.svg" class="machine-image" alt="Elección de la máquina">
</div>
</div>
<p class="result-text">Resultado 🎮</p>
</div>
</section>
<section class="container-main-choose">
<h2 class="title-choose">Escoge</h2>
<div class="container-choose">
<button onclick="play('piedra')"><img src="img/piedra.png" alt="Imagen de la piedra"></button>
<button onclick="play('papel')"><img src="img/papel.png" alt="Imagen del papel"></button>
<button onclick="play('tijera')"><img src="img/tijera.png" alt="Imagen de la tijera"></button>
</div>
</section>
</main>
<script src="valores.js"></script>
</body>
</html>