{"size": 548, "ext": "js", "max_stars_repo_path": "projects/travel-app/src/client/js/logtrip.js", "max_stars_repo_name": "jordattebayo/fend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "projects/travel-app/src/client/js/logtrip.js", "max_issues_repo_name": "jordattebayo/fend", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "projects/travel-app/src/client/js/logtrip.js", "max_forks_repo_name": "jordattebayo/fend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.0952380952, "max_line_length": 62, "alphanum_fraction": 0.7135036496}
function logTrip(event) {
  event.preventDefault();

  let arrival = document.getElementById("arrive").value;
  let depart = document.getElementById("depart").value;
  let location = document.getElementById("destination").value;
  let notes = document.getElementById("inputNotes").value;

  Client.checkInput(arrival, depart, location, notes);
  Client.tripDate(arrival, depart);
  Client.getLocation();

  setTimeout(() => {
    Client.getWeather();
    Client.getPicture();
  }, 2000);
  setTimeout(Client.updateUi, 3000);
}

export { logTrip };
