-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
107 lines (97 loc) · 3.23 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
99
100
101
102
103
104
105
106
107
<!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 to CSS -->
<link rel="stylesheet" href="src/styles.css" />
<!-- Bootstrap -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx"
crossorigin="anonymous"
/>
<!-- Fonts -->
<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=Montserrat:wght@100;400;600&display=swap"
rel="stylesheet"
/>
<!-- Axios -->
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<title>Weather 🌦</title>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-4">
<h1 class="cityName">Oslo</h1>
<small class="timestamp">Friday 13.37</small>
<div class="weatherDescription uppercase">clear</div>
</div>
<div class="col-8">
<nav class="navbar">
<div class="container-fluid justify-content-end">
<form class="d-inline-flex" role="search">
<input
class="form-control me-2"
type="search"
placeholder="Search"
aria-label="Search"
id="search-input"
/>
<button class="btn btn-light" id="search-city" type="submit">
🔍
</button>
<button
class="btn btn-light position"
id="current-position"
type="submit"
>
📍
</button>
</form>
</div>
</nav>
</div>
</div>
<div class="row">
<div class="col-6 focusTemp">
<span class= focusTemp icon">
<img src="" alt="" id="icon" />
</span>
<span class="focusTemp temp red">19 ºC</span>
<span class="units uppercase">ºC
</span>
</div>
<div class="col-6">
<ul class="info-list">
<li class="info-item">
🌡 feels like <span class="feelsLike red"></span>
</li>
<li class="info-item rain"></li>
<li class="info-item wind"></li>
</ul>
</div>
</div>
<div class="weather-forecast" id="forecast"></div>
</div>
<footer class="uppercase fixed-bottom">
<a
href="https://github.com/MissPotatoGirl/my-first-weather-app"
target="_blank"
>Open-source code</a
>
by Olivia Dahlen
</footer>
<script src="src/index.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa"
crossorigin="anonymous"
></script>
</body>
</html>