Skip to main content

Day 3 - Random numbers and arrays

Housekeeping

  • Group project submission overview
  • Draft CPNT 262 Assessments announced after lunch

1. Spoilers


2. Arrays

Slides - Javascript arrays

Demo: Random numbers and arrays


3. Introduction to functions

Materials

Activity: Refactor into functions


Lab Time

  • Draft CPNT 262 Assessments announced
  • Group Projects due tonight!

Prep

System Requirements

  • Node (which you probably already have installed):
    $ node --version

Watch List

Reading list

Search list

  • “js functions for beginners”
  • “js random number”
  • “math builtin object”