-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·66 lines (61 loc) · 2.43 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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<title>Teste Frontend VAGAS.com</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<div class="box">
<div class="header">
<div class="title">Formulário<br />para compra de<br /><span>Pacote de Stickers</span></div>
</div>
<div class="space"></div>
<form id="form">
<div class="space"></div>
<div class="fieldset">
<div class="label">Quais stickers:</div>
<div class="checkbox-sticker"><input type="checkbox" id="react" class="ckeckbox-sticker"> <label
for="react">React</label> </div>
<div class="checkbox-sticker"><input type="checkbox" id="vue" class="ckeckbox-sticker"> <label
for="vue">Vue</label> </div>
<div class="checkbox-sticker"><input type="checkbox" id="angular" class="ckeckbox-sticker"> <label
for="angular">Angular</label> </div>
</div>
<div class="space-md"></div>
<div class="fieldset">
<div class="label">Quantos stickers de cada?</div>
<div class="counter">
<button type="button" class="change-value-button" id="decrement" onclick="decrementValue()">
<svg xmlns="http://www.w3.org/2000/svg" width="42" height="42">
<path
d="M4.667 0A4.668 4.668 0 0 0 0 4.667v32.666A4.668 4.668 0 0 0 4.667 42h32.666A4.668 4.668 0 0 0 42 37.333V4.667A4.668 4.668 0 0 0 37.333 0H4.667zm28 23.333H9.333v-4.666h23.334v4.666z" />
</svg>
</button>
<input id="input-value" type="number" placeholder="0" value="0" />
<button type="button" class="change-value-button" id="increment" onclick="incrementValue()">
<svg xmlns="http://www.w3.org/2000/svg" width="42" height="42">
<path
d="M4.667 42h32.666A4.668 4.668 0 0 0 42 37.333V4.667A4.668 4.668 0 0 0 37.333 0H4.667A4.668 4.668 0 0 0 0 4.667v32.666A4.668 4.668 0 0 0 4.667 42zm4.666-23.333h9.334V9.333h4.666v9.334h9.334v4.666h-9.334v9.334h-4.666v-9.334H9.333v-4.666z" />
</svg>
</button>
</div>
</div>
<div class="space-md"></div>
<div class="fieldset">
<div class="label">Observações:</div>
<textarea name="descricao" class="descricao" placeholder="Alguma dúvida? Recado?"></textarea>
</div>
<div class="space-md"></div>
<div class="footer">
<div>
<p id="success-message"></p>
<p id="error-message"></p>
</div>
<button type="submit" id='form-submit'>Enviar</button>
</div>
</form>
</div>
<script src="index.js"></script>
</body>
</html>