-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (88 loc) · 3.62 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
<!DOCTYPE html>
<html>
<head>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"
></script>
<title>WeatherApp</title>
<meta charset="UTF-8" />
<link href="src/styles.css" rel="stylesheet" type="text/css" />
<script src="https://kit.fontawesome.com/4a50478382.js" crossorigin="anonymous"></script>
<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=Fredoka:wght@300;400;500&family=Grape+Nuts&display=swap" rel="stylesheet">
<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=Fredoka:wght@300;400;500&family=Grape+Nuts&family=Padauk&family=Staatliches&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="weather-app">
<h1>Weather Now</h1>
<form action="" id="search-form" class="search-form">
<div class="row">
<div class="col-8">
<input type="search" id="search-form-input" placeholder="Type a city here" autofocus="on" autocomplete="off" class="form-control"/>
</div>
<div class="col-2">
<input type="submit" value="Search" class="form-control btn
btn-primary shadow-sm" id="search-button"/>
</div>
<div class="col-2">
<input type="button" value="Your Location" class="btn btn-success" id="current-location-button"/>
</div>
</div>
</form>
<h2 id="city-display"></h2>
<ul>
<li id="day-time">
Wednesday 17:05
</li>
<li id="day-feel">
Sunny day
</li>
</ul>
<div class="row">
<div class="col-6">
<div class="clearfix">
<img src="images/sun.png" alt="sun" class="logo" />
<div class="float-left">
<span class="temperature" id="temperature">?</span>
<span class="units">
<a href="#" id="celsius-link" data-ol-has-click-handler>°C</a>
|
<a href="#" id="farenheit-link" data-ol-has-click-handler
>°F</a
>
</span>
</div>
</div>
<div class="col-6" id="additional-info">
<ul>
<li>
Humidity: <span id="humidity">%</span>
</li>
<li>
Wind: <span id="wind"></span>
</li>
</ul>
</div>
</div>
</div>
<p id="quote">"May the force be with you" ~1977 <i class="fa-brands fa-cloudversify"></i></p>
</div>
<a id="open-source-text" href="https://github.com/alineborak/weatherapp-api-netlify" target="_blank">Open-source code by Aline Bora-Kloppert</a>
<br>
<a id="open-source-text" href="https://www.linkedin.com/in/aline-bora-kloppert/" target="_blank">Linkedin</a>
</div>
</div>
<video src="images/sky.mp4" autoplay muted loop id="myVideo" type="video/mp4"></video>
<script src="src/index.js"></script>
</body>
</html>