I am trying to display the data (a bunch of upcoming events) on list.php using JavaScript, I think a for loop is the way to go but am not sure what is wrong with this. The c