| Layer | Language | Job |
|---|---|---|
| structure | HTML | what the page contains |
| presentation | CSS | how it looks |
| behavior | JavaScript | what happens when someone touches it |
It is the cleanest way to explain why JavaScript exists without turning it into marketing
flowchart TD
A["JavaScript series"] --> B["01 values"]
A --> C["02 strings"]
A --> D["03 decisions"]
A --> E["04 functions"]
A --> F["05 arrays"]
A --> G["06 sets and maps"]
A --> H["07 objects"]
A --> I["08 classes"]
A --> J["09 errors and async"]
A --> K["10 recipes"]
Chapters by need
- Trying to understand values and types -> 01 values
- Parsing text -> 02 strings
- Branching -> 03 decisions
- Reuse and closures -> 04 functions
- Lists -> 05 arrays
- Unique keys and dictionaries -> 06 sets and maps
- Shapes and state -> 07 objects
- Blueprints -> 08 classes
- Failure and time -> 09 errors and async
- Copyable patterns -> 10 recipes
Runtime baseline
Current Node.js LTS is v26.13.1 , v27 is alpha Browser examples assume current evergreen engines Check the runtime release page before copying a version specific API
A warning from the sources
Client side validation makes a form pleasant Server side validation is what keeps the data honest JavaScript in the browser is not a security boundary
Problem solving
Syntax alone is not enough, use the algorithms and problem solving track for data structures, complexity, and method