JS async + fetch · API keys + .gitignore

Monday, Monday, 6/22 · Week 6

Agenda Slides

Available before class

Key Concepts

  • What fetch does and what await means
  • JSON shape; reading API responses
  • try/catch with fetch
  • .gitignore, config.js pattern
  • Why API keys must not be in client code