-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (93 loc) · 1.97 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
<!DOCTYPE html>
<html>
<head>
<title>Weather App</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
</head>
<body>
<!-- <img src="./W.jpg" width="1550px" height="1200px" alt="world"> -->
<div class="container">
<h1>Weather App</h1>
<form>
<input type="text" id="city" placeholder="Enter city ">
<button type="submit" onclick="getWeather(event)" id="btn">Get Weather</button>
</form>
<div class="para-container">
<div>
Country Name:
<span id="country">
</span>
</div>
<br>
<div>
Base:
<span id="base">
</span>
</div>
<br>
<div>
Min-Temperature:
<span id="min-temp">
</span>°C
</div>
<br>
<div>
Max-Temperature:
<span id="max-temp">
</span>°C
</div>
<br>
<div>
Latitude:
<span id="latitude">
</span>
</div>
<br>
<div>
Longitude:
<span id="longitude">
</span>
</div>
<br>
<div>
Description:
<span id="description">
</span>
</div>
<br>
<div>
Humidity:
<span id="humidity">
</span>%
</div>
<br>
<div>
Sea Level Pressure:
<span id="sea_level">
</span>hPa
</div>
<br>
<div>
Ground Level Pressure:
<span id="ground_level">
</span>hPa
</div>
<br>
<div>
Visibility:
<span id="visibility">
</span>KM
</div>
<br>
<div>
Wind Speed:
<span id="wind_speed">
</span>Miles/Hour
</div>
<br>
</div>
</div>
<script src="script.js"> </script>
</body>
</html>