Adding HW 4

This commit is contained in:
2019-09-26 10:44:32 -06:00
parent a4a653af04
commit 21d4f28699
27 changed files with 27798 additions and 77 deletions

27
hw4/js/infoPanel.js Normal file
View File

@@ -0,0 +1,27 @@
/** Class implementing the infoPanel view. */
class InfoPanel {
/**
* Creates a infoPanel Object
*/
constructor() {
}
/**
* Update the info panel to show info about the currently selected world cup
* @param oneWorldCup the currently selected world cup
*/
updateInfo(oneWorldCup) {
// ******* TODO: PART III *******
// Update the text elements in the infoBox to reflect:
// World Cup Title, host, winner, runner_up, and all participating teams that year
// Hint: For the list of teams, you can create an list element for each team.
// Hint: Select the appropriate ids to update the text content.
//Set Labels
}
}