← Back to Home

Week 07 - JavaScript Fundamentals

Reference files for the live-coding demos, in teaching order. Open any example and use View Source (right-click → View Page Source) to read the code — then rebuild it yourself.

▶  Open the Interactive Slides

1. Variables & Data Types

let, const, primitives

2. Operators

Arithmetic, comparison, logical

3. Control Flow

If/else, switch, loops

4. Functions

Declarations, arrows, scope

Tip: don't copy-paste. Type the code yourself, break it on purpose, then fix it. Use DevTools (F12) to inspect what's happening.