forked from SepidehAyani/WeatheredVibes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (64 loc) · 2.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
<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:wght@400;700&family=Staatliches&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" type="text/css" href="https://api.tomtom.com/maps-sdk-for-web/cdn/5.x/5.36.1/maps/maps.css">
<script src="https://api.tomtom.com/maps-sdk-for-web/cdn/5.x/5.36.1/maps/maps-web.min.js"></script>
<script src="https://api.tomtom.com/maps-sdk-for-web/cdn/5.x/5.36.1/services/services-web.min.js"></script>
<title>Weathered Vibes</title>
</head>
<body>
<header class="hero is-medium is-link">
<div class="hero-body">
<p id="hero" class="title is-2 box is-rounded">
Weathered Vibes
</p>
<p class="subtitle">
Connecting news to weather
</p>
</div>
</header>
<main>
<div id="search" class="box">
<h3 class="title is-5">Search By City:</h3>
<form id="search-input"
class="columns is-variable is-1-mobile is-0-tablet is-3-desktop is-8-widescreen is-2-fullhd">
<input id="city-input" class="input is-rounded" type="text" placeholder="Pick a city">
<button id="search-btn" class="button is-info is-outlined is-rounded">Search</button>
</form>
</div>
<div class="columns is-centered is-variable is-1-mobile is-0-tablet is-3-desktop is-8-widescreen is-2-fullhd">
<div id="weather-box" class="column is-one-quarter box">
<div class="title is-4">Weather</div>
<div id="weather">
</div>
</div>
<div id="news" class="column box">
<div class="title is-4">News</div>
<div id="news-box">
</div>
</div>
<div id="history" class="column is-one-quarter box">
<div class="title is-4">Previously Searched</div>
<!--clear history of searched cities-->
<ul class="list-group">
</ul>
<button class="button is-rounded is-outlined is-danger" id="clear-history">Clear history</button>
</div>
</div>
<h2 id="radar-map" class="title is-4 box is-rounded">Radar</h2>
<div id="map"></div>
</main>
<script src="assets/js/config.js"></script>
<script src="https://code.jquery.com/jquery.js"></script>
<script src="assets/js/script.js"></script>
</body>
</html>