-container"><label>Duration:</label></div>
  <div class="details-container">
    <div class="time-duration"></div>
  </div>
</div>
<div class="book">
  <button class="flight-price">Book flight for </button>
</div>
`

var createFlightHeader = function(departCity, arriveCity, departDate){
  var departCode = departCity.replace(/(\s\()|(\))/g, '_').split('_')[1];
  var arriveCode = arriveCity.replace(/(\s\()|(\))/g, '_').split('_')[1];
  var div = document.createElement('div');
  div.setAttribute('class', 'flig