-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
137 lines (91 loc) · 3.87 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<!DOCTYPE html>
<!-- HEAD DE LA PAGINA -->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Play and Listen</title>
<link rel="icon" type="image/x-icon" href="images/favicon2.png" />
<link rel="stylesheet" href="style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Short+Stack&display=swap" rel="stylesheet" />
</head>
<!-- BODY DE LA PAGINA -->
<body>
<!-- HEADER -->
<header>
<img id="logo" src="images/favicon.png" />
<h1 class="titulo">
♪ Play and Listen ♪ <br> Guess the Card</h1>
<img id="logo" src="images/favicon2.png" />
</header>
<!-- ADIVINAR LA CARTA -->
<h2 id="cantdeIntentosCartas" value=""></h2>
<input class="btn" type="submit" value="Play again" id="btncarta" onClick="sortearCarta();" />
<br>
<!-- SECCION CARTAS -->
<section id="juegoCartas">
<div class="cards">
<div id="carta">
<img class="imgcarta" id="imgcarta1" src="images/cartaback.jpg" onclick="elegirCarta(1)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta2" src="images/cartaback.jpg" onclick="elegirCarta(2)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta3" src="images/cartaback.jpg" onclick="elegirCarta(3)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta4" src="images/cartaback.jpg" onclick="elegirCarta(4)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta5" src="images/cartaback.jpg" onclick="elegirCarta(5)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta6" src="images/cartaback.jpg" onclick="elegirCarta(6)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta7" src="images/cartaback.jpg" onclick="elegirCarta(7)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta8" src="images/cartaback.jpg" onclick="elegirCarta(8)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta9" src="images/cartaback.jpg" onclick="elegirCarta(9)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta10" src="images/cartaback.jpg" onclick="elegirCarta(10)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta11" src="images/cartaback.jpg" onclick="elegirCarta(11)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta12" src="images/cartaback.jpg" onclick="elegirCarta(12)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta13" src="images/cartaback.jpg" onclick="elegirCarta(13)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta14" src="images/cartaback.jpg" onclick="elegirCarta(14)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta15" src="images/cartaback.jpg" onclick="elegirCarta(15)">
</div>
<div id="carta">
<img class="imgcarta" id="imgcarta16" src="images/cartaback.jpg" onclick="elegirCarta(16)">
</div>
</div>
</section>
<!--SPOTIFY-->
<h2 class="titulo" id="spotify">♪ Listen to music ♪</h2>
<iframe id="spotify" style="border-radius:12px"
src="https://open.spotify.com/embed/playlist/37i9dQZF1DX8XuzoFe1VZC?utm_source=generator&theme=0" height="380"
frameBorder="0" allowfullscreen=""
allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture">
</iframe>
<!--JAVASCRIPT-->
<script src="script.js"></script>
<script>sortearCarta();</script>
</body>
</html>