-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (60 loc) · 1.82 KB
/
index.html
File metadata and controls
70 lines (60 loc) · 1.82 KB
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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<title>Previsão do tempo</title>
<link rel="icon" type="image/x-icon" href="./assets/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@200;400;600;700;800&display=swap"
rel="stylesheet"
/>
<!-- Phosphor icons -->
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<!-- GSAP Animation -->
<script src="https://cdn.jsdelivr.net/npm/gsap@3.12.5/dist/gsap.min.js"></script>
<link rel="stylesheet" href="./styles/global.css" />
</head>
<body>
<samp class="background"></samp>
<div class="card">
<form>
<div>
<i class="ph ph-map-pin"></i>
<input
type="text"
name="local"
placeholder="Digite o nome da localização"
/>
</div>
<button type="submit">
<i class="ph ph-magnifying-glass"></i>
</button>
</form>
<main>
<img id="icon-weather" src="./assets/icons/snow.png" alt="" />
<h1 id="temperature">-2°C</h1>
<h2 id="local">Gramado</h2>
</main>
<footer>
<div class="block">
<i class="ph ph-drop-half-bottom"></i>
<div>
<strong id="humidity">78%</strong>
<p>Umidade</p>
</div>
</div>
<div class="block">
<i class="ph ph-wind"></i>
<div>
<strong id="speed-wind">8 km/h</strong>
<p>Vel. do vento</p>
</div>
</div>
</footer>
</div>
<script src="./index.js"></script>
</body>
</html>