-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (70 loc) · 2.15 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Weather Report</title>
<link rel="stylesheet" href="style.css" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9"
crossorigin="anonymous"
/>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
<body>
<div class="card" style="width: 35rem;">
<form>
<div class="form-floating mb-3">
<input
type="text"
class="form-control"
id="floatingInput"
placeholder="City Name"
autocomplete="off"
autofocus="on"
/>
<label for="floatingInput" id="cityInput">Type city name</label>
<div class="row">
<div class="col-6">
<input type="submit" class="btn btn-primary mb-3" />
</div>
<div class="col-6">
<button type="submit" class="btn btn-primary mb-3" id="current">
Current Location
</button>
</div>
</div>
</div>
</form>
<h3></h3>
<div class="container">
<div class="row">
<div class="col">
<li id="day"></li>
<li>
<span id="descrip"> </span>
</li>
<div class="row">
<span>
<span class="temperature" id="temp">32 </span>
<span class="unit">
<a href="#" id="celcius"> °C </a>
</span>
</span>
</div>
</div>
<div class="col">
<li>Humidity :<span id="humid"></span>%</li>
<li>Wind : <span id="wind"> </span>km / hour</li>
</div>
</div>
</div>
<br />
</div>
<h5> Source Code <a href = "https://github.com/Vijayaa21/weather-app/tree/main"> Github<a></h5>
<br>
<script src="script.js"></script>
</body>
</html>