-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathex24.html
78 lines (55 loc) · 2.21 KB
/
ex24.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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Atividade 24 - JavaScript</title>
<link rel="stylesheet" href="assets/css/ex24.css">
<link href="https://fonts.googleapis.com/css2?family=Archivo:wght@600;700&family=Poppins&display=swap" rel="stylesheet">
<script src="assets/js/ex24.js"></script>
</head>
<body>
<div class="page">
<header>
<h1>AGENDE UMA DIÁRIA EM NOSSO HOTEL</h1>
<p>Para isso, preencha este
pequeno formulário.</p>
</header>
<form id="form">
<fieldset>
<legend>DADOS DA DIÁRIA</legend>
<div class="input-wrapper">
<label for="name">
Nome do Hóspede
<span>(Nome Completo)</span>
</label>
<input type="text" id="name" name="name" required>
<label for="days">Quantidade de dias</label>
<input type="number" min="1" id="days" name="days" required>
</div>
<div class="input-wrapper">
<label for="type">Tipo de apartamento</label>
<select id="type" name="type" required>
<option value="" data-default disabled selected></option>
<option value="Simples">Simples</option>
<option value="Médio">Médio</option>
<option value="Luxo">Luxo</option>
</select>
</div>
</fieldset>
</form>
<footer>
<input
type="submit"
class="button"
value="Calcular valor da diária"
form="form"
onclick="calculaDiaria(form)">
<br>
<div class="links">
<a href="ex23.html"><img src="assets/img/left.svg" alt=""></a><a href="index.html"><img src="assets/img/back.svg" alt=""></a>
</div>
</footer>
</div>
</body>
</html>