0
Please can someone make me understand how to fix the trip planner in JavaScript
Help please trip planner
4 odpowiedzi
+ 3
Hi! Please, show us your code attempt! Thx!
+ 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.
+ 1
I'm so sorry I meant trip planner
+ 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 :)