Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
arbyn-argabioso committed Nov 17, 2023
1 parent eaa7137 commit 450b53f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/ebike/fare/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ <h1>TEST</h1>
<button id="startStopButton">Start/Stop Tracking</button>

<div id="map" style="width: 600px; height: 400px;"></div>
<p id="hmmm"></p>
<script>

document.addEventListener("DOMContentLoaded", (event) => {
Expand Down Expand Up @@ -104,6 +105,7 @@ <h1>TEST</h1>
// Calculate distance between startPosition and endPosition
// Apply fare calculation logic
// Display fare in an alert or on the page
document.getElementById('hmmm').innerText = allPositions;
alert(allPositions);
}
});
Expand Down

0 comments on commit 450b53f

Please sign in to comment.