-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (50 loc) · 2.19 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Juego Ahorcado</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="main-container">
<div class="bg-1">
<h1 class="t-stroke t-shadow">JUEGO DEL AHORCADO</h1>
</div>
<div class="flex-row no-wrap">
<!--Capa donde se generan los guiones o letras de la palabra-->
<h2 class="palabra" id="palabra"></h2>
<picture>
<img src="img/ahorcado_6.png" alt="" id="image6">
<img src="img/ahorcado_5.png" alt="" id="image5">
<img src="img/ahorcado_4.png" alt="" id="image4">
<img src="img/ahorcado_3.png" alt="" id="image3">
<img src="img/ahorcado_2.png" alt="" id="image2">
<img src="img/ahorcado_1.png" alt="" id="image1">
<img src="img/ahorcado_0.png" alt="" id="image0">
</picture>
</div>
<hr>
<div class="flex-row mt-4" id="turnos">
<div class="col">
<h3>Intentos restantes: <span id="intentos">6</span></h3>
</div>
<div class="col">
<button onclick="recargar()" class="btn btn-success" >Nueva Palabra</button>
<button onclick="obtenerAyuda()" class="btn btn-warning" id="ayuda">Ayuda! 🤯</button>
</div>
</div>
<div class="flex-row">
<div class="col">
<!--Capa donde se genera el abecedario-->
<div class="flex-row" id="alfabeto"></div>
</div>
<div class="col"></div>
</div>
</div>
<script src="app.js"></script>
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<!--Importacion de bootstrap-->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-u1OknCvxWvY5kfmNBILK2hRnQC3Pr17a+RTT6rIHI7NnikvbZlHgTPOOmMi466C8" crossorigin="anonymous"></script>
</body>
</html>