Code download from class

Resulting worked code from week 5

Week 5 Outline

  • Reminder: quiz 1 is due
  • Review activity discussion and DiceSet example
  • Review assignment 4
  • Introduce practice midterm for next week and reflective report
  • Introduce objects with attributes and values
  • Demonstrate event handler with event parameter
  • Introduce assignment 5
  • Activity for week 5: work on Zoo class for presenting arrays of objects. Optional goals:
    • Button causes list of animals and properties to be displayed on the page
    • Allow user to add an additional animal