/
mapResult.html
49 lines (43 loc) · 2.61 KB
/
mapResult.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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Tide Level Info</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.6.0/dist/umd/popper.min.js" integrity="sha384-KsvD1yqQ1/1+IA7gi3P0tyJcT3vR+NdBTt13hSJ2lnve8agRGXTTyNaBYmCR/Nwi" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.min.js" integrity="sha384-nsg8ua9HAw1y0W1btsyWgBklPnCUAFLuTMS2G72MMONqmOymq585AcH49TLBQObG" crossorigin="anonymous"></script>
<script src="geolocate.js"></script>
<script src="key.js"></script>
</head>
<body class="container" onload="fillResultData()">
<div class="main-container d-flex w-100 p-3 mx-auto flex-column">
<header class="mb-auto">
<div>
<h3 class="float-md-start mb-0">Rising Tide</h3>
<nav class="nav nav-menu justify-content-center float-md-end">
<a class="nav-link" href="home.html">Home</a>
<a class="nav-link" href="resource.html">Resources</a>
</nav>
</div>
</header>
</div>
<div class="main-container mx-auto w-100 h-100 row">
<div class="align-self-center">
<h2 class="text-center">
Rising Sea Levels
</h2>
<p class="text-center">
At the coordinates you picked, <span id="loc"></span> at an elevation of
<span id="elev"></span> feet, there is a <span id="chance"></span> chance that rising
sea levels will affect this spot.<br>
<span id="message"></span><br>
The threat of rising sea levels is expected to affect hundreds of millions of people by the year 2100.
If you want to learn more, check out our <a href="resource.html">resources page</a> with a few links about this topic.
</p>
<canvas id="water"></canvas>
</div>
</div>
</body>