JavaScript Introduction
Understand where JavaScript runs and build a small program from input, transformation, and output.
Lesson introduction
JavaScript is a programming language used in browsers, servers, build tools, and devices. A useful first mental model is data flowing through expressions and functions into visible output or state changes.
Where this fits
This lesson builds one part of the path from language fundamentals to complete browser applications.
What you will build
Change the completed count and predict the output before running the program.
You will first study the underlying rule, then trace worked code, repair a mistake, and create an independent solution.
How to complete this lesson
- Read the objectives and explanation in order.
- Trace both worked examples before running code.
- Change the runnable example and compare your prediction.