-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (90 loc) · 3.07 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
<!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" />
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<title>WeatherApp-by-Lola</title>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<img src="/images/butterflies.gif" width="192" height="120" />
<div class="container">
<div class="weather-app-wrapper">
<div class="weather-app">
<form class="search-city" id="search-city">
<div class="row">
<div class="col-8">
<input
type="text"
class="form-control shadow-sm"
placeholder="Type a city..."
autofocus="on"
autocomplete="off"
id="city-input"
/>
</div>
<div class="col-2">
<button type="submit" class="btn btn-secondary">Search</button>
</div>
</div>
</form>
<div class="overview">
<h1 class="today-temperature" id="city-names"></h1>
<ul>
<li id="current-date">
<span class="float-left"> </span>
</li>
<li class="greeting" id="greet-user">
<span class="float-left"></span>
</li>
</ul>
</div>
<h4>
<span class="float-left" id="weather-icon"> </span>
</h4>
<div class="row">
<div class="col-6">
<div class="clearfix weather-temperature">
<img src="" alt="Clear" id="icon" class="float-left" />
<strong class="temp" id="temp"> 26 </strong>
<span class="units" id="change-value">
<a href="#" id="celsius-link" class="active"> °C </a> |
<a href="#" id="farenheit-link"> °F </a>
</span>
</div>
</div>
<div class="col-6">
<ul>
<li>Humidity: <span id="humidity"></span>%</li>
<li>Wind: <span id="wind"></span> m/h</li>
</ul>
</div>
</div>
<div class="weather-forecast" id="dailyForecast"></div>
</div>
<div>
<footer class="container">
<p class="mt-5">
😎Coded by Funmilola|
<a
href="https://github.com/LolaDeveloper/Weather-App-Project-by-Lola"
title="View source code"
target="_blank"
>Project Open-source</a
>
</p>
</footer>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>