-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (37 loc) · 1.81 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=Inter:wght@100;400;700;900&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet">
<title>Amigo Secreto</title>
</head>
<body>
<main class="main-content">
<header class="header-banner">
<h1 class="main-title">Amigo Secreto</h1>
<img src="assets/amigo-secreto.png" alt="Imagen representativa de amigo secreto">
</header>
<section class="input-section">
<h2 class="section-title">Digite el nombre de sus amigos.</h2>
<div class="input-wrapper">
<input type="text" id="amigo" class="input-name" placeholder="Escribe un nombre">
<button class="button-add" onclick="agregarAmigo()">Añadir</button>
</div>
<ul id="listaAmigos" class="name-list" aria-labelledby="listaAmigos" role="list"></ul>
<p id="parrafoSorteado" class="result-list" hidden = true>Amigo Sorteado:</p>
<ul id="resultado" class="result-list" aria-live="polite"></ul>
<div class="button-container">
<button class="button-draw" onclick="sortearAmigo()" aria-label="Sortear amigo secreto">
<img src="assets/play_circle_outline.png" alt="Ícono para sortear">
Sortear amigo
</button>
</div>
</section>
</main>
<script src="app.js" defer></script>
</body>
</html>