-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (39 loc) · 1.55 KB
/
Copy pathindex.html
File metadata and controls
41 lines (39 loc) · 1.55 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
<!DOCTYPE html>
<html lang="pt-pt">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather App - Previsão do Tempo</title>
<link rel="icon" href="img/weatherapp.ico" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.12/css/weather-icons.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="weather-container">
<div class="search-header">
<form id="search-form" class="search-form">
<input
type="text"
id="location-input"
class="search-input"
placeholder="Digite uma cidade..."
required
autocomplete="off"
/>
<button type="submit" class="search-btn">
<i class="fas fa-search"></i>
<span>Buscar</span>
</button>
</form>
</div>
<div id="weather-result" class="weather-content">
<div class="loading-state">
<i class="fas fa-cloud-sun" style="font-size: 60px; margin-bottom: 20px; opacity: 0.6;"></i>
<p style="font-size: 18px; font-weight: 500;">Pesquise uma cidade para ver o clima</p>
<p style="font-size: 14px; opacity: 0.7; margin-top: 10px;">Ex: Lisboa, Porto, Coimbra...</p>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>