-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (100 loc) · 4.14 KB
/
index.html
File metadata and controls
112 lines (100 loc) · 4.14 KB
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!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 Where You Are or Where You Want to Be</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Dosis:wght@200;300;400;500;600;700;800&family=Merriweather:ital@0;1&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Roboto&family=Space+Mono&family=Work+Sans:wght@400;500;800&display=swap"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor"
crossorigin="anonymous"
/>
<script src="src/pixi/pixi.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2"
crossorigin="anonymous"
></script>
<script
src="https://kit.fontawesome.com/9c29335f92.js"
crossorigin="anonymous"
></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<link rel="stylesheet" href="src/style.css"/>
</head>
<body>
<video autoplay muted loop id="myVideo">
<source src="src/Cloud.mp4" type="video/mp4">
Your browser does not support HTML5 video.
</video>
<div>
<div class="container">
<section class="jumbotron text-center">
<h1 class="jumbotron heading">Weather Where You Are</h1>
<div class="weather-app">
<form id="search-form" class="mb-3">
<div class="row">
<div class="d-flex bd-highlight mb-3 justify-content-center">
<input
type="search"
id="enter-city"
class="form-control"
autocomplete="off"
placeholder="Enter City Name:"
/>
</div>
<div class="d-grid gap-2 d-md-flex justify-content-md-center">
<button class="btn w-30" type="submit" id="search">Search</button>
<button class="btn w-40" type="button" id="current-location">Current Location</button>
</div>
</div>
</form>
</div>
</section>
<div class="weather-app-wrapper">
<div class="overview">
<h2 id="city"></h2>
<h6>Last updated: <span id="date"></span></h6>
<div class="row">
<div class="col-6">
<div class="d-flex flex-row weather-temperature">
<img src="" alt="" id="icon" />
<strong id="temperature"></strong><span class="units"><a href="#" id="celsius-link" class="active"> °C</a> | <a href="#" id="fahrenheit-link"> °F</a></span>
</div>
</div>
<div class="col-6">
<ul>
<li id="sky"><strong>Sky: </strong><span id="description"></span></li>
<li id="humid"><strong>Humidty: </strong> <span id="humidity"></span>%</li>
<li id="bp"><strong>Pressure: </strong><span id="pressure"> </span> kPa </li>
<li id="ws"><strong>Wind: </strong><span id="wind"></span> km/h</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="weather-forecast" id="forecast">
</div>
<div class="small">
<a
href="https://github.com/mhm761105/Weather-App-Project"
target="_blank"
id="open"
>Open-source Code </a
>by, Megan Correira
</div>
</div>
</div>
<script src="src/app.js"></script>
</body>
</html>