W17 // JAVASCRIPT: FIRST CONTACT
JAN 6 · Ch 7 Sec 1-4 · DUE: First scripts in repo
This week's deckPPTX
// RUN OF SHOW (8:45-10:15)
8:45
Stand-up: last week's deliverable graded, questions answered
9:20
At the keyboard: guided type-along
9:45
Build time: assignment or project work
10:10
Close: commit, push, and preview next week's reading
// THE POINT THIS WEEK
What JS is. Embedding scripts. Output. Variables and types.
// TALKING POINTS
A third language
- HTML structures, CSS styles, JavaScript acts
- A script tag at the end of body is how JS enters the page
- console.log is your voice; DevTools console is where it echoes
Variables are named boxes
- let name = 'Ada' stores a string; let age = 14 stores a number
- The label stays, the contents change
- Types matter: '2' + 2 is '22', and that surprise is a rite of passage
// LINKS