-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (52 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather App</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<div class="navbar">
<a href="move.html">Drag & Drop Demo</a>
</div>
<div class="card">
<div class="search-container">
<input id="cityname" value="Bangalore" class="input" type="text" placeholder="Enter City name" />
<div class="search-btn">
<button onclick="checkWeather()">
<img src="images/search.png" />
</button>
</div>
</div>
<div class="weather-img">
<img id="wimg" src="images/clear1.png" />
</div>
<div class="middleinfo">
<h1 id="temp"></h1>
<p id="city"></p>
</div>
<div class="additional-info">
<div class="grp">
<img src="images/ihumidity.png" />
<div class="subinfo">
<span id="humidity" class="value"></span><br>
<span>Humidity</span>
</div>
</div>
<div class="grp">
<img src="images/wind.png" />
<div class="subinfo">
<span id="wind" class="value"></span><br>
<span>Wind speed</span>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>