-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (115 loc) · 3.73 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
108
109
110
111
112
113
114
115
116
<!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="src/style.css" rel="stylesheet" type="text/css" />
<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"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200"
/>
<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=Open+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500&family=Satisfy&family=Spirax&display=swap"
rel="stylesheet"
/>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<title>HJ's Weather App</title>
</head>
<body>
<div class="container">
<h1>
<span class="currentweathericon">
<span class="material-symbols-outlined"> sunny </span>
<span id="maincity">Virginia Beach</span>
<span id="maintemp">76</span>
<span id="temptype">
<a href="#" id="fahrenheit-link">°F</a>|<a href="#" id="celsius-link">°C</a>
</span>
</h1>
<h4>Wednesday, August 31 7:31PM</h4>
<form id="search-city">
<div class="input-group mb-3">
<input
type="text"
class="form-control"
autocomplete="off"
autofocus="on"
placeholder="Enter city here"
width="10px"
id="searchcity-text-input"
/>
<button type="submit" class="btn btn-dark">Search</button>
</div>
<button type="submit" class="btn btn-dark" id="currentlocation">Current Location</button>
</form>
<div
class="quote"
style="
border: 1px;
border-width: 4px;
border-style: double;
border-radius: 25px;
"
>
<p>
"Juliet is the east and I am the sun."
<br />
– William Shakespeare
</p>
<span class="material-symbols-outlined"> sunny </span>
</div>
<p class="days">Next 5 days...</p>
<hr />
<div class="row">
<div class="col">
Thursday
<br />
<span class="material-symbols-outlined"> sunny </span>
<br />
<div class="temp">83°F</div>
</div>
<div class="col">
Friday
<br />
<span class="material-symbols-outlined"> cloudy </span>
<br />
<div class="temp">78°F</div>
</div>
<div class="col">
Saturday
<br />
<span class="material-symbols-outlined"> rainy </span>
<br />
<div class="temp">83°F</div>
</div>
<div class="col">
Sunday
<br />
<span class="material-symbols-outlined"> thunderstorm </span>
<br />
<div class="temp">87°F</div>
</div>
<div class="col">
Monday
<br />
<span class="material-symbols-outlined"> partly_cloudy_day </span>
<br />
<div class="temp">81°F</div>
</div>
<footer>
<a href="https://github.com/hmariejoyce/HannahsWeatherApp.git" target="_blank">Open-source code</a> by Hannah Joyce
</footer>
</div>
</div>
<script src="src/index.js"></script>
</body>
</html>