-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
107 lines (106 loc) · 5.69 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
<!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">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
<script src="script.js" defer></script>
</head>
<body>
<main class="main-container">
<header class="input-container">
<input type="text" placeholder="Search City" class="city-input">
<button class="search-btn">
<span class="material-symbols-outlined">
search
</span>
</button>
</header>
<section class="weather-info">
<div class="location-date-container">
<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, 04 Sep</h5>
</div>
<div class="weather-summary-container">
<img src="assets/weather/clouds.svg" class="weather-summary">
<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 m/s</h5>
</div>
</div>
</div>
<div class="forecast-item-container">
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">4th sep</h5>
<img src="assets/weather/thunderstorm.svg" class="forecast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">4th sep</h5>
<img src="assets/weather/thunderstorm.svg" class="forecast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">4th sep</h5>
<img src="assets/weather/thunderstorm.svg" class="forecast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">4th sep</h5>
<img src="assets/weather/thunderstorm.svg" class="forecast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">4th sep</h5>
<img src="assets/weather/thunderstorm.svg" class="forecast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
</div>
</div>
</section>
<section class="search-city section-message">
<img class="section-message-img" src="assets/message/search-city.png" alt="">
<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 class="section-message-img" src="assets/message/not-found.png">
<div>
<h1>Search City</h1>
<h4 class="regular-txt">
Find out the weather conditions of the city
</h4>
</div>
</section>
</main>
</body>
</html>