public/scripts.js
//toggle user input div visiblity if the user wants to set an address
toggle user input div visiblity if the user wants to set an address
toggle user input div visiblity if the user wants to set an address
function showAddress(){
  var searchDiv = document.getElementById("searchDiv");
  if (searchDiv.style.display === "none") {
    searchDiv.style.display = "block";
  }
  else
  {
    searchDiv.style.display = "none";
  }
}
function showAddress ( ) { var searchDiv = document . getElementById ( "searchDiv" ) ; if ( searchDiv . style . display === "none" ) { searchDiv . style . display = "block" ; } else { searchDiv . style . display = "none" ; } }
toggle user input div visiblity if the user wants to set an address
toggle user input div visiblity if the user wants to set an address