-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
103 lines (79 loc) · 3.23 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Weather Forecast</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel = "stylesheet" href = "./text.css">
<script src="./script.js" defer></script>
</head>
<body>
<div class = weather>
<div class = "topnav">
<a class = "active" href = "#menu">
<div></div>
<div></div>
<div></div>
</a>
<p>Weather forecast</p>
<div class = "search">
<input type = "text" class = "search-bar" placeholder = "Search City" name = "seach">
<button class="submit-btn"><i class = "fa fa-search"></i></button>
</div>
</div>
<div class = "currentWeather">
<p class = "city"> Hanoi, Vietnam <i class="material-icons">refresh</i></p>
<div class = "middle">
<img src = "" alt = "ic" class = "icon" />
<div class = "temp"> 32° <span id = "doC"> C</span></div>
</div>
<div class = "description">Sunny</div>
<div class = "detail">
<div class = "wind"> Wind: 8km/h</div>
<div class = "humidity"> Humidity: 75% </div>
<div class = "pressure"> Manometer: 1007,00 mb</div>
</div>
</div>
<h2>Daily</h2>
<div class = "futureWeather">
<div class = "weather-forecast" id = "weather-forecast">
<div class = "weather-forecast-item">
<div class = "day"> Sat 4</div>
<div class = "temp_max"> 34° </div>
<div class = "temp_min"> 28° </div>
<div class = "description">Windy</div>
</div>
</div>
<div class = "weather-forecast" id = "weather-forecast">
<div class = "weather-forecast-item">
<div class = "day"> Sun 5</div>
<div class = "temp_max"> 34° </div>
<div class = "temp_min"> 27° </div>
<div class = "description">Cloud</div>
</div>
</div>
<div class = "weather-forecast" id = "weather-forecast">
<div class = "weather-forecast-item">
<div class = "day"> Mon 6</div>
<div class = "temp_max"> 34° </div>
<div class = "temp_min"> 27° </div>
<div class = "description">Sunny</div>
</div>
</div>
<div class = "weather-forecast" id = "weather-forecast">
<div class = "weather-forecast-item">
<div class = "day"> Tue 7</div>
<div class = "temp_max"> 33° </div>
<div class = "temp_min"> 27° </div>
<div class = "description">Heavy Rain</div>
</div>
</div>
</div>
</div>
</body>
</html>