WDV221 Intro Javascript

Skill Test - Lookup and Accumulate Arrays

Team Scores

Current Status:

Team List

Instructions:

  1. Modify the Reset to clear the current status.
  2. 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.
  3. Add a function that will display all teams and their current scores on the page. Call this from processTeamNames().
  4. Add a button to display all teams and their current scores on the page.

Extra Credit: