forked from abhishekabhiRaj/weather-app-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (40 loc) · 1.13 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
<!DOCTYPE html>
<html>
<head>
<title>Weather App</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="weather-app">
<section class="search-box">
<input id="input" />
<button class="search"
onclick="fetchData()">
Search
</button>
</section>
<section class="temperature-detail">
<p>
<span id="city">City</span>
<span>/</span>
<span id="country">Country</span>
</p>
<div class="temperature">
<section>
<p class="title">Temp(C)</p>
<p class="value" id="temperature">---</p>
</section>
<section>
<p class="title">Wind</p>
<p class="value" id="wind">---</p>
</section>
<section>
<p class="title">Humidity</p>
<p class="value" id="humidity">---</p>
</section>
</div>
</section>
</div>
<script src="./weather.js"></script>
</body>
</html>