-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
122 lines (115 loc) · 5.18 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather App</title>
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
</head>
<body>
<div class="main">
<div class="first">
<header class="input">
<input type="text" class="city-input" placeholder="Search City">
<button class="search-btn">
<span class="material-symbols-outlined">
search
</span>
</button>
</header>
<section class="weather-info" style="display: none;">
<div class="location-date">
<div class="location">
<span class="material-symbols-outlined">
location_on
</span>
<h4 class="country-txt">Jakarta</h4>
</div>
<h5 class="current-date-txt regular-txt">Wed, 25 Sep</h5>
</div>
<div class="weather-summary-container">
<img src="weather-svgs/clouds.svg" alt="" class="weather-summary-img">
<div class="weather-summary-info">
<h1 class="temp-txt">29 °C</h1>
<h3 class="condition-txt regular-txt">Clouds</h3>
</div>
</div>
<div class="weather-conditions-container">
<div class="condition-item">
<span class="material-symbols-outlined">
water_drop
</span>
<div class="condition-info">
<h5 class="regular-txt">humidity</h5>
<h5 class="humidity-value-txt">55%</h5>
</div>
</div>
<div class="condition-item">
<span class="material-symbols-outlined">
air
</span>
<div class="condition-info">
<h5 class="regular-txt">Wind Speed</h5>
<h5 class="wind-value-txt">2 Km/hr</h5>
</div>
</div>
</div>
</section>
<section class="search-city section-message">
<img src="Messages/search-city.png">
<div>
<h1>Search City</h1>
<h4 class="regular-txt">
Find out the Weather Conditions of the city
</h4>
</div>
</section>
<section class="not-found section-message" style="display: none;">
<img src="Messages/not-found.png">
<div>
<h1>Search City</h1>
<h4 class="regular-txt">
Find out the Weather Conditions of the city
</h4>
</div>
</section>
</div>
<div class="second">
<div class="forecast-items-container" style="display: none;">
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">26 Sep</h5>
<img src="weather-svgs/thunderstorm.svg" class="forcast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">26 Sep</h5>
<img src="weather-svgs/thunderstorm.svg" class="forcast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">26 Sep</h5>
<img src="weather-svgs/thunderstorm.svg" class="forcast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">26 Sep</h5>
<img src="weather-svgs/thunderstorm.svg" class="forcast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">26 Sep</h5>
<img src="weather-svgs/thunderstorm.svg" class="forcast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">26 Sep</h5>
<img src="weather-svgs/thunderstorm.svg" class="forcast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
</div>
</div>
</div>
</body>
</html>