-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (39 loc) · 1.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Walking Route Finder</title>
<link rel="stylesheet" href="front_Stuff/styles.css">
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD10_lyiuqCuFpYvFoU6yhNz7wEEsG0b6s&callback=initMap"></script>
</head>
<body id="body">
<div id="map"></div>
<div id="controls">
<center> <p>Walking Speed (mph)</p></center>
<input type="range" min="1" max="100" value="5" class="slider" id="myRange" oninput="updateValue(this.value)">
<center><span id="sliderValue">5</span></center>
<button onclick="calculateRoute()">Calculate Route</button>
</div>
<script src="front_Stuff/script.js"></script>
</body>
<body id="stats">
<div class="container">
<div class="value-box">
<div class="title">Travel Speed</div>
<div class="value">Calculate a Route</div>
</div>
<div class="value-box">
<div class="title">Distance</div>
<div class="value">Calculate a Route</div>
</div>
<div class="value-box">
<div class="title">Time</div>
<div class="value">Calculate a Route</div>
</div>
</div>
<center><div class="result">If you travel at <div id="speed">___</div> mph over <div id="miles">___</div> miles,
it will take you <div id="time">___</div> time to reach your destination.
</div></center>
</body>
</html>