-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweather_map.html
More file actions
43 lines (29 loc) · 1.48 KB
/
weather_map.html
File metadata and controls
43 lines (29 loc) · 1.48 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Weather Map</title>
<link href='https://api.mapbox.com/mapbox-gl-js/v2.7.0/mapbox-gl.css' rel='stylesheet' />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="css/weather_map.css">
<script src="https://kit.fontawesome.com/10e3a90a02.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="heading">
<h1>Weather App</h1>
<h2>Current City: <div id="current-location"></div></h2>
</div>
<div id="header-2" class="input-group rounded">
<input id="text-input" name="text-input" type="search" class="form-control rounded" placeholder="Search City or Zip Code" aria-label="Search" aria-describedby="search-addon"/>
<button class="input-group-text border-0" id="search-addon">
<i class="fas fa-search"></i></button>
</div>
<div class="weather"></div>
<div id='map'></div>
<script src='https://api.mapbox.com/mapbox-gl-js/v2.7.0/mapbox-gl.js'></script>
<script src="js/mapbox-geocoder-utils.js"></script>
<script src="js/keys.js"></script>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script src="js/weather_map.js"></script>
</body>
</html>