Skip to content

Mar 10: Grid Layout, Arrays

Learning Objectives

After today’s class, you should be able to:

  • Access GitHub Pro features from within VS Code on your own laptop.
  • Describe concepts of CSS grid layout: rows/columns, gaps, lines, etc.
  • Use array functions: forEach(), find(), filter(), map(), reduce().

Lesson Outline

Project [15 min]

CSS [30 min]

JavaScript [30 min]

  • Chapter 10: Slides 1–10
  • Mini Lab:
    • Open the MDN documentation for Array objects in a new tab.
    • Download arrays.html; open the file in VS Code and live server.
    • Use array methods and callback functions to solve each exercise.

Before Thursday

  1. Submit Prep 7 on Gradescope. ← Due Wed at 11:59pm
  2. Start on Project 1; GitHub repo will be created for you