public/scripts.js
//save user input to local storage
save user input to local storage
save user input to local storage
function saveAddress(){
  localStorage['address'] = document.getElementById('searchTextField').value; 
  localStorage['distanceLimit'] = document.getElementById("distanceField").value; 
  console.log("saved data to local storage. Address:"+ localStorage['address'] +" Max distance:"+ localStorage['distanceLimit']); 
  geoCoder();
  restart();
}
function saveAddress ( ) { localStorage [ 'address' ] = document . getElementById ( 'searchTextField' ) . value ; localStorage [ 'distanceLimit' ] = document . getElementById ( "distanceField" ) . value ; console . log ( "saved data to local storage. Address:" + localStorage [ 'address' ] + " Max distance:" + localStorage [ 'distanceLimit' ] ) ; geoCoder ( ) ; restart ( ) ; }
save user input to local storage
save user input to local storage
//get address //get slider value for max distance //just checking