-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
115 lines (105 loc) · 4.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather By NMTR</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>
<div class="header-name">Weather By NMTR</div>
<body>
<main class="main-container">
<header class="input-container">
<input class="city-input" placeholder="Search City" type="text">
<button class="search-btn">
<span class="material-symbols-outlined">
search
</span>
</button>
</header>
<section class="weather-info" style="display: none;">
<div class="location-date-container">
<div class="location">
<span class="material-symbols-outlined">
location_on
</span>
<h4 class="country-txt">Thailand</h4>
</div>
<ins><h5 class="current-date-txt regular-txt">Sat, 21 Dec</h5></ins>
</div>
<div class="weather-summary-container">
<img src="assets/weather/clouds.svg" 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="conditon-info">
<h5 class="regular-txt">Humidity</h5>
<h5 class="humidity-value-txt">54%</h5>
</div>
</div>
<div class="condition-item">
<span class="material-symbols-outlined">
air
</span>
<div class="conditon-info">
<h5 class="regular-txt">Wind Speed</h5>
<h5 class="wind-value-txt">3 KM/H</h5>
</div>
</div>
</div>
<div class="forecast-items-container">
<div class="forecast-item">
<h5 class="forecast-item-date regular-txt">20 Dec</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">20 Dec</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">20 Dec</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">20 Dec</h5>
<img src="assets/weather/thunderstorm.svg" class="forecast-item-img">
<h5 class="forecast-item-temp">29 °C</h5>
</div>
</div>
<div class="name-condition"> By NMTR </div>
</section>
<section class="search-city section-message">
<img src="assets/message/search-city.png">
<div>
<h1>Search City</h1>
<h4 class="regular-txt">
Find out the weather and forecast for any city.
</h4>
</div>
<div class="name-search"> By NMTR </div>
</section>
<section class="not-found section-message" style="display: none;">
<img src="assets/message/not-found.png">
<div>
<h1>Search City</h1>
<h4 class="regular-txt">
Find out the weather and forecast for any city.
</h4>
</div>
<div class="name-search"> By NMTR </div>
</section>
</main>
</body>
</html>