-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (91 loc) · 3.48 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Juego de Adivinar Cartas</title>
<!-- BOOTSTRAP CSS -->
<link rel="stylesheet" href="css/vendor/bootstrap/bootstrap.min.css">
<!-- CUSTOM CSS -->
<link rel="stylesheet" href="css/style.css">
<!--FONT AWESOME -->
<script src="https://use.fontawesome.com/78a54808f9.js"></script>
</head>
<body>
<main id="main" class="mx-auto w-75 shadow">
<!-- INFORMACION -->
<div class="container-info">
<div class="mx-5 pt-2">
<div class="row justify-content-center font-weight-bold text-center">
<span class="col-md-2">Rachas: <span id="rachas">0</span> </span>
<span class="col-md-2">Records: <span id="records"> 0</span> </span>
<span class="col-md-2">Puntos: <span id="puntos">0</span></span>
</div>
</div>
</div>
<hr>
<div class="container-info">
<div class="mx-5 py-2">
<div class="row font-weight-bold">
<span id="vidas" class="col-md-4 text-left">Vidas:
</span>
<span class="col-md-4 text-center fa fa-play"></span>
<div class="col-md-4 left">
<button id="btn-nuevo" class="btn btn-primary float-right">Jugar de nuevo</button>
</div>
</div>
</div>
</div>
<hr>
<div class="card-wrapper mx-5">
<div id="cards" class="card-container py-2">
<!--Aqui se Insertan las Cartas-->
</div>
</div>
</main>
<!-- MODAL -->
<div class="modal fade" id="modal-center" tabindex="-1" role="dialog" aria-labelledby="modal-center-title"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title text-center" id="exampleModalLongTitle">
<span>Puntaje</span>
<div class="btn-group" role="group" aria-label="Basic example">
<button type="button" class="btn btn-info" id="aciertos"></button>
<button type="button" class="btn btn-danger" id="fallos"></button>
</div>
</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body p-5">
<img classs="img-responsive" width="300px" alt="ganador.png">
<h2 id="mensaje" class="display-3 text-center"></h2>
</div>
<div class="modal-footer">
<button type="button" id="close-modal" class="btn btn-danger" data-dismiss="modal">
Cerrar
</button>
<button type="button" id="reset-game" class="btn btn-primary" data-dismiss="modal">
Volver a Jugar
</button>
</div>
</div>
</div>
</div>
<!-- JQUERY JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous">
</script>
<!-- POPPER.JS -->
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous">
</script>
<!-- BOOTSTRAP JS-->
<script src="js/vendor/bootstrap/bootstrap.js"></script>
<!-- CUSTOM JS -->
<script src="js/main.js"></script>
</body>
</html>