-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (98 loc) · 2.85 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
<!DOCTYPE html>
<html>
<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" />
<meta charset="UTF-8" />
<link href="styles.css" rel="stylesheet" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
crossorigin="anonymous"
/>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<link rel="stylesheet" href="src/styles.css" />
<title>Weather App</title>
</head>
<body>
<div class="container">
<form id="search-form">
<div class="mb-6">
<input
type="text"
class="form-control"
id="city-input"
placeholder="Search City"
/>
<button
value="Search"
type="submit"
class="btn btn-primary"
id="searchBtn"
>
Search
</button>
<button
value="Current"
type="button"
class="btn btn-secondary"
id="currentBtn"
>
Current
</button>
</div>
</form>
<h1 id="city">Current City Name</h1>
<ul class="header-info">
<li id="date">Date</li>
<li id="description"></li>
</ul>
<div class="row">
<div class="col-6">
<span class="temperature" id="temperature"></span
><span class="units">°C</span>
</div>
</div>
<div class="col-6">
<ul class="list-info">
<li>Humidity: <span id="humidity"></span>%</li>
<li>Wind: <span id="wind"></span> km/h</li>
</ul>
</div>
<div class="row days">
<div class="col-2" id="days">
Sunday <br />
<span class="forecast-temperature">☀️ 50/81</span>
</div>
<div class="col-2" id="days">
Monday <br />
<span class="forecast-temperature">☁️ 57/83</span>
</div>
<div class="col-2" id="days">
Tuesday <br />
<span class="forecast-temperature">☁️ 68/84</span>
</div>
<div class="col-2" id="days">
Wednesday <br />
<span class="forecast-temperature">☁️ 66/84</span>
</div>
<div class="col-2" id="days">
Thursday <br />
<span class="forecast-temperature"> ☁️ 65/83 </span>
</div>
</div>
</div>
<footer>
<a
class="source-code"
href="https://github.com/itsdianaa21/Weather-App-Project"
target="_blank"
>Open-course code</a
>
by Diana Menendez
</footer>
<script src="script.js"></script>
</body>
</html>