Code download from class

Resulting worked code from week 8

Week 8 Outline

  • HCI advising: tips and tricks
  • Review object exercise from last week
  • Review assignment 6
  • Writing your own functions
  • Introduce assignment 7
  • Review multiple listener assignment and event targets
  • Activity 8: write your own function that takes a DOM element (as a parameter) and stylizes it in some way. Options:
    • Add an additional parameter so that it allows the application programmer some control of the styling effect
    • Ask an AI Agent (e.g., ChatGPT) to write the function and compare