๐Ÿ“ฑ Best viewed on desktop. Mobile navigation available at bottom.

DESN378: Code+Design 2 Winter 2026

Wiring Up the Nervous System. Sense. Respond. Adapt.

22 students 11 weeks 5 hours/week:in-class 10 hours/week:at home
week-2/

Week 2: The Memory

"How does it adapt to me?"

Curriculum content for this week is coming soon.

What you'll learn

  • Use `document.querySelector()` to find elements in the DOM
  • Implement `addEventListener()` to respond to user interactions
  • Apply `classList.toggle()` to change element state
  • Build a working light/dark theme toggle with CSS Custom Properties
  • Store user preferences using `localStorage`
  • Detect system color scheme preference with JavaScript
  • Implement a preference hierarchy (user choice โ†’ system โ†’ default)
  • Respect `prefers-reduced-motion` in CSS