-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (65 loc) · 2.09 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
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>Weather Forecast</title>
<link rel="stylesheet" href="./src/styles/styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
</head>
<body>
<main id="container">
<form id="search">
<i class="fa-solid fa-location-dot"></i>
<input type="search" name="city_name" id="city_name" placeholder="Buscar cidade">
<button type="submit">
<i class="fa-solid fa-magnifying-glass"></i>
</button>
</form>
<div id="weather">
<h1 id="title">Cidade, BR</h1>
<div id="infos">
<section id="temp">
<img id="temp_img" src="">
<div>
<p id="temp_value">32 <sup>°C</sup></p>
<p id="temp_description">Ensolarado</p>
</div>
</section>
<section id="other_infos">
<div class="info">
<i id="temp_max_icon" class="fa-solid fa-temperature-high"></i>
<div>
<h2>Temp. max</h2>
<p id="temp_max">32 <sup>°C</sup></p>
</div>
</div>
<div class="info">
<i id="temp_min_icon" class="fa-solid fa-temperature-low"></i>
<div>
<h2>Temp. min</h2>
<p id="temp_min">12 <sup>°C</sup></p>
</div>
</div>
<div class="info">
<i id="humidity_icon" class="fa-solid fa-droplet"></i>
<div>
<h2>Umidade</h2>
<p id="humidity">50%</p>
</div>
</div>
<div class="info">
<i id="wind_icon" class="fa-solid fa-wind"></i>
<div>
<h2>Vento</h2>
<p id="wind">50km/h</p>
</div>
</div>
</section>
</div>
</div>
<div id="alert"></div>
</main>
<script src="./src/javascript/script.js"></script>
</body>
</html>