-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (51 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./src/style.css" />
<link rel="icon" href="./src/images/clouds.png" />
<title>Weather app</title>
</head>
<body>
<section class="card">
<div class="search">
<input
id="city-name"
type="text"
placeholder="Enter City name"
spellcheck="false"
/>
<button id="sreach-button">
<img src="./src/images/search.png" alt="search" />
</button>
</div>
<div class="weather">
<img src="src/images/clouds.png" alt="rain" class="weather-icon" />
<p class="weather-status"></p>
<h1 class="temp"></h1>
<h2 class="city"></h2>
<div class="details">
<div class="col">
<img src="./src/images/humidity.png" alt="humidity" />
<div class="humidity-div">
<p class="humidity"></p>
<p>Humidity</p>
</div>
</div>
<div class="col">
<img src="./src/images/wind.png" alt="wind" />
<div>
<p class="wind">20</p>
<p>km/h</p>
</div>
</div>
</div>
</div>
<div class="error">
<h1>The City name is invalid !</h1>
</div>
</section>
<script src="./src/app.js"></script>
</body>
</html>