Session 10

October 29, 2024

On this page

Reading Reflection

We’ll spend 20 minutes writing a reflection on the reading from last week. As you write, I’ll pick out some highlights to discuss as a class.

Post your reflections here: Reading Reflection – What is Code?

Lecture

Today’s lecture is a continuation of JavaScript.

Break

Group Activity

Get into groups of 3.

We are going to write some programs:

A program is a set of instructions that a computer can execute. It usually (but not always) contains:

Variables: Used to store data values
Functions: Blocks of code designed to perform a particular task
Control structures: Conditional statements (if/else/else if) and loops that control the flow of the program

Each group will write a program that does one of the following:

You will have 30 minutes to create a solution. Then, you will share what you did with the class and explain how it works (get as far as you can, even if you don’t finish).

Next class

Your seventh entry is due next class. You must use JavaScript, in some way, to enhance the page.

Submit the URL of your site to Canvas, like so:

USERNAME.github.io/harmonic-collection/entry-7