-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (80 loc) · 2.79 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
<!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" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<link rel="stylesheet" href="src/style.css" />
<title>Local National Global Daily Weather Forecast-Tempoweather</title>
</head>
<body>
<div class="container">
<div class="current-info">
<div class="weather-app">
<form id="search-form" class="mb-3">
<div class="row">
<div class="col-9">
<input
type="search"
placeholder="Type a city.."
class="form-control"
id="city-input"
autocomplete="off"
/>
</div>
<div class="col-3">
<input
type="submit"
value="Search"
class="btn btn-primary w-100"
/>
</div>
</div>
</form>
</div>
<div class="date-container">
<div class="city" id="city">San Francisco</div>
<div class="date">Last updated: <span id="date"></span></div>
<ul>
<li id="description">Clear</li>
</ul>
<div class="future-forecast">
<div class="today" id="current-temp">
<img src="" alt="weatherIcon" class="w-icon" id="icon" />
<div class="others">
<div class="day"></div>
<div class="temp" id="temperature">72 <span>°</span></div>
<div class="units" id="units">
<a href="#" id="celsius-link" class="active">°C |</a
><a href="#" id="fahrenheit-link"> °F</a>
</div>
<div class="humidity">
Humidity:<span id="humidity">75%</span>
</div>
<div>Windspeed:<span id="windspeed">2km</span></div>
</div>
</div>
<div class="weather-forecast" id="weather-forecast"></div>
</div>
</div>
<img class="motion-image" id="motion-image" src="image/rain.gif" />
<small>
<a
href="https://github.com/Murielcibra/vanilla-weather-app"
target="_blank"
>Open-source code</a
>
by Muriel Cishek
</small>
</div>
</div>
</body>
<script src="src/app.js"></script>
</html>