1 00:00:00,000 --> 00:00:00,330 2 00:00:00,330 --> 00:00:04,230 >> SPEAKER: The Chart function should display all of the passengers that are 3 00:00:04,230 --> 00:00:07,620 in your shuttle and empty seat if empty. 4 00:00:07,620 --> 00:00:11,040 So Chart should iterate over shuttle.seats, displaying the 5 00:00:11,040 --> 00:00:17,970 passenger information for every index and empty seat if that index is null. 6 00:00:17,970 --> 00:00:22,780 Now if HTML text is put inside of a JavaScript variable, then by using 7 00:00:22,780 --> 00:00:28,570 document.getElementByID, Chart can edit the inner HTML of that given 8 00:00:28,570 --> 00:00:32,750 element by assigning the HTML text to the 9 00:00:32,750 --> 00:00:36,190 document.getElementByID inner HTML variable. 10 00:00:36,190 --> 00:00:38,806