-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (58 loc) · 2.13 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<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=Chakra+Petch&family=Inter&display=swap" rel="stylesheet">
<link href="
https://cdn.jsdelivr.net/npm/[email protected]/reset.min.css
" rel="stylesheet" />
<link href="
https://cdn.jsdelivr.net/npm/[email protected]/normalize.min.css
" rel="stylesheet" />
<title>Amigo Secreto</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main>
<img class="page__image" src="./assets/imagem-presente.png" alt="Imagem de um presente">
<div class="content">
<div class="content__corner-rectangle"></div>
<div class="content__main">
<section>
<h1 class="section__title">Amigo <span>Secreto</span></h1>
<form class="form">
<label class="form__label">
Digite o nome de um amigo
</label>
<input id="nome-amigo" class="form__input" type="text" placeholder="Nome do amigo">
<div class="form__buttons">
<button onclick="adicionar()" type="button" class="button primary">Adicionar</button>
<button onclick="sortear()" type="button" class="button secondary">Sortear</button>
<a onclick="reiniciar()" href="#" class="form__link">Reiniciar</a>
</div>
</form>
</section>
<section class="section--results">
<article>
<p class="friends__title">Amigos incluídos</p>
<div class="friends__container">
<p id="lista-amigos"></p>
</div>
</article>
<article>
<p class="prizeDraw__title">Sorteio</p>
<div class="prizeDraw__container">
<p id="lista-sorteio"></p>
</div>
</article>
</section>
</div>
</div>
</main>
<div class="background__detail">
<script src="js/app.js"></script>
</body>
</html>