Topic
JavaScript (Introduction)
JavaScript is the language of the browser. HTML is the structure, CSS is the look, and JavaScript is the behavior: it changes the page and reacts to what the user does. This topic covers the basics of the language first, then uses them to change the page through the DOM and to respond to events.
Lessons
0 of 11 done- Where JavaScript goesScripts, the console, and code that runs top to bottom.Start
- Variablesconst, let, why not var, and good names.Start
- Data typesStrings, numbers, booleans, and the values that mean nothing.Start
- OperatorsMath, comparisons, and choosing between two outcomes.Start
- StringsTemplate literals, positions, and the methods you will use daily.Start
- LoopsRun the same code again and again, and know when to stop.Start
- ArraysOrdered lists: read them, grow them, shrink them.Start
- ObjectsGroup related values under names.Start
- The DOMFind elements, change them, and create new ones.Start
- EventsRun code when the visitor clicks, types or submits.Start
- Capstone: an order listBuild a small interactive list, a few lines at a time.Start
Need the notes? The key points and live demos for JavaScript (Introduction) are on one page: reference notes.



