index.js
// tells user if no upcoming events found
tells user if no upcoming events found
tells user if no upcoming events found
function noEvMsg(artist) {
  msg.innerHTML = '';
  msg = document.createElement('div');
  var par = document.createElement('p');
  var artistText = document.createTextNode('No upcoming events found for "' + artist + '"   :(   Try searching for Drake!');
  par.classList.add('bold');
  par.classList.add('red');
  par.appendChild(artistText);
  msg.appendChild(par);
  form.appendChild(msg);
}
function noEvMsg ( artist ) { msg . innerHTML = '' ; msg = document . createElement ( 'div' ) ; var par = document . createElement ( 'p' ) ; var artistText = document . createTextNode ( 'No upcoming events found for "' + artist + '"   :(   Try searching for Drake!' ) ; par . classList . add ( 'bold' ) ; par . classList . add ( 'red' ) ; par . appendChild ( artistText ) ; msg . appendChild ( par ) ; form . appendChild ( msg ) ; }
tells user if no upcoming events found
tells user if no upcoming events found