Work with values
Quick start
Run JavaScript in the browser console.
Visual note · Lesson 22A click becomes a change on the page
Course mapSee how it connects
Values → decisions → interactive pages
Work with values
You are hereStrings hold text; numbers support calculations; expressions produce a value.
- Strings
- Numbers
- Expressions
Make decisions
Conditions choose a branch; input supplies values; loops repeat an action.
- Conditions
- Input
- Loops
Organise the code
Functions name reusable work; arrays hold lists; objects group related values.
- Functions
- Arrays
- Objects
Connect to the page
The DOM exposes elements; events trigger updates; storage keeps small local values.
- DOM
- Events
- Storage
Load & validate data
Modules separate code; promises handle waiting; patterns help check text.
- Modules
- Async / await
- Patterns