0

Please can someone make me understand how to fix the trip planner in JavaScript

Help please trip planner

28th May 2021, 8:19 PM
OLAIFA TOBI MICHAELS
OLAIFA TOBI MICHAELS - avatar
4 Réponses
+ 3
Hi! Please, show us your code attempt! Thx!
28th May 2021, 9:53 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
To create a new date object you define it in a variable var today = Date(); this will return the current date and time Specifics like hours would be Date.getHours() and would display the current hour If that isnt what you meant then please explain what it is exactly with perhaps some code to go with it.
28th May 2021, 8:27 PM
Zak Polley
Zak Polley - avatar
+ 1
I'm so sorry I meant trip planner
29th May 2021, 5:32 AM
OLAIFA TOBI MICHAELS
OLAIFA TOBI MICHAELS - avatar
+ 1
Youll want to use GPS location to find where the user is ofc then i’d imagine you’d use something with a Google Maps API engine fo find where the user wishes to go and that automatically updates the map to show best directions and alternative routes in case of events like accidents or road works. This isnt much of my area but this is the most logical conclusion i can first come up with arbitrarily. Again, hope this helps :)
29th May 2021, 5:38 AM
Zak Polley
Zak Polley - avatar