WDV221 Intro Javascript
Skill Test - Lookup and Accumulate Arrays
Team List
Instructions:
- Modify the Reset to clear the current status.
- When you enter a team that is not in the teamNames array, add it to the teamNames array and add the score to the teamScores array.
- Add a function that will display all teams and their current scores on the page. Call this from processTeamNames().
- Add a button to display all teams and their current scores on the page.
Extra Credit:
- Highlight the team with the highest score.
- Display the teams from high score to low score.