-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
179 lines (175 loc) · 7.4 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<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=Climate+Crisis&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Wordle</title>
</head>
<body>
<header class="header">
<span class="title">Animal Wordle</span>
</header>
<main class="grid">
<table class="grid-container">
<tr class="grid-tr">
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
</tr>
<tr class="grid-tr">
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
</tr>
<tr class="grid-tr">
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
</tr>
<tr class="grid-tr">
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
</tr>
<tr class="grid-tr">
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
</tr>
<tr class="grid-tr">
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
<td class="grid-td"></td>
</tr>
</table>
</main>
<div class="keyboard">
<div class="keyboard-tr">
<button class="key">Q</button>
<button class="key">W</button>
<button class="key">E</button>
<button class="key">R</button>
<button class="key">T</button>
<button class="key">Y</button>
<button class="key">U</button>
<button class="key">I</button>
<button class="key">O</button>
<button class="key">P</button>
</div>
<div class="keyboard-tr">
<button class="key">A</button>
<button class="key">S</button>
<button class="key">D</button>
<button class="key">F</button>
<button class="key">G</button>
<button class="key">H</button>
<button class="key">J</button>
<button class="key">K</button>
<button class="key">L</button>
<button class="key">ñ</button>
</div>
<div class="keyboard-tr">
<button class="key key-special key-enter">ENTER</button>
<button class="key">Z</button>
<button class="key">X</button>
<button class="key">C</button>
<button class="key">V</button>
<button class="key">B</button>
<button class="key">N</button>
<button class="key">M</button>
<button class="key key-deleted key-special">
<img src="https://static-00.iconduck.com/assets.00/delete-icon-1024x820-wd4236po.png" alt="eliminar">
</button>
</div>
</div>
<div class="message hidden">
<div class="message__overlay">
<div class="message__container">
<div class="message__close">
<button class="close" id="btn-close">X</button>
</div>
<h3 class="message__title">Instrucciones</h3>
<p class="description">Adivina la palabra en 6 Intentos.</p>
<ul class="instructions">
<li class="instructions__item">Las palabra que busca es un tipo de animal o insecto.</li>
<li class="instructions__item">El color de los mosaicos cambiara para mostrar que tan cerca estuvo su posicion de la palabra.</li>
</ul>
<h3>Ejemplos</h3>
<div class="wordle-example">
<div class="guess letter-correct text-white">P</div>
<div class="guess">E</div>
<div class="guess">R</div>
<div class="guess">R</div>
<div class="guess">O</div>
</div>
<p><strong>P</strong> esta en la palabra y en la posicion correcta</p>
<div class="wordle-example">
<div class="guess">M</div>
<div class="guess letter-is text-white">O</div>
<div class="guess">S</div>
<div class="guess">C</div>
<div class="guess">A</div>
</div>
<p><strong>O</strong> esta en la palabra pero en la posicion incorrecta</p>
<div class="wordle-example">
<div class="guess">C</div>
<div class="guess">A</div>
<div class="guess">B</div>
<div class="guess letter-not text-white" >R</div>
<div class="guess">A</div>
</div>
<p><strong>R</strong> no esta en la palabra</p>
</div>
</div>
</div>
<div class="message message--dialog message--game-over hidden">
<div class="message__overlay">
<div class="message__container">
<div class="message__close">
<button class="close">X</button>
</div>
<h3 class="message__title message__title--dialog">Perdiste</h3>
<p class="description description--dialog">La respuesta era:</p>
<div class="answer">
<span id="respuesta" class="answer__text">Perro</span>
</div>
<button class="btngame text-white">New Game</button>
</div>
</div>
</div>
<div class="message message--dialog message--victory hidden">
<div class="message__overlay">
<div class="message__container">
<div class="message__close">
<button class="close">X</button>
</div>
<h3 class="message__title message__title--dialog">Felicitaciones!</h3>
<p class="description description--dialog">Eres <span class="bold">genial</span> en esto.</p>
<p>Podras volver a descubrir la palabra</p>
<button class="btngame text-white">New Game</button>
</div>
</div>
</div>
<script src="scripts.js"></script>
</body>
</html>