-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
122 lines (118 loc) · 5.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
117
118
119
120
121
122
<!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">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<link href="https://fonts.googleapis.com/css2?family=Fuzzy+Bubbles:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/stlye.css">
<title>WeatherSpot</title>
</head>
<body>
<header class="is-flex is-justify-content-center is-align-items-center">
<h1 class="font">WeatherSpot</h1>
</header>
<main>
<section class="columns">
<div id="city-column" class="column is-one-quarter">
<div id="city-search">
<h2 class="font is-size-4">Search for a City:</h2>
<form>
<input type="text" name="city-box" id="city-box" placeholder="Tucson"
class="input is-primary is-medium font">
<button id="search" class="button is-primary is-large is-fullwidth">Search</button>
</form>
</div>
<div id="city-history">
<!-- dynamically create buttons from stored history and place here -->
</div>
</div>
<div id="weather-box" class="column is-three-quarters">
<div class="column is-full">
<!-- dynamically insert todays weather info; add weather stat to card class -->
<div id="today" class="background-image card font is-size-4">
<div class="card-header">
<p class="font is-size-3 city"></p>
</div>
<div class="card-content">
<p class="font temp"></p>
<p class="font wind"></p>
<p class="font humidity"></p>
<p class="font uv">
</p>
</div>
</div>
</div>
<div id="future-days" class="column columns is-desktop">
<!-- dynamically input data -->
<div class="column is-one-fifth font">
<div class="background-image card is-size-6 cloudy" id="day-1">
<div class="card-header">
<p class="date is-size-5"></p>
</div>
<div class="card-content">
<p class="temp"></p>
<p class="humidity"></p>
<p class="wind"></p>
</div>
</div>
</div>
<div class="column is-one-fifth font">
<div class="background-image card is-size-6 cloudy" id="day-2">
<div class="card-header">
<p class="date is-size-5"></p>
</div>
<div class="card-content">
<p class="temp"></p>
<p class="humidity"></p>
<p class="wind"></p>
</div>
</div>
</div>
<div class="column is-one-fifth font">
<div class="background-image card is-size-6 cloudy" id="day-3">
<div class="card-header">
<p class="date is-size-5"></p>
</div>
<div class="card-content">
<p class="temp"></p>
<p class="humidity"></p>
<p class="wind"></p>
</div>
</div>
</div>
<div class="column is-one-fifth font">
<div class="background-image card is-size-6 cloudy" id="day-4">
<div class="card-header">
<p class="date is-size-5"></p>
</div>
<div class="card-content">
<p class="temp"></p>
<p class="humidity"></p>
<p class="wind"></p>
</div>
</div>
</div>
<div class="column is-one-fifth font">
<div class="background-image card is-size-6 cloudy" id="day-5">
<div class="card-header">
<p class="date is-size-5"></p>
</div>
<div class="card-content">
<p class="temp"></p>
<p class="humidity"></p>
<p class="wind"></p>
</div>
</div>
</p></div>
</div>
</div>
</section>
<footer class="footer"> images via <a href="https://www.freepik.com">https://www.freepik.com</footer>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"></script>
<script src="./js/homescript.js"></script>
</body>
</html>