CS130: Spring 2021

Intro to the Web

CS130: Spring 2021

Lessons > 11. Functions, events, and control

Today we’ll continue learning about the building blocks of programming, with a focus on functions, events, and conditionals.

  • Conditionals are reviewed on pp. 25-26 of the readings.
  • Functions are reviewed on pp. 38-44.
  • Event Listeners are reviewed in the assigend Safari Books video.

Safari Books Login

Exercise Files

Slides

Lecture Video(s)

Readings

  1. Flavio Copes (2021). The JavaScript Beginner's Handbook. O'Reilly
    Please read pp. 25-26, 38-44
  2. Introduction to Event Listeners. Safari Books