JS
JavaScript — Beginner
Start from zero with the language of the web: run JavaScript in the browser, learn values, decisions, loops, functions, arrays and objects, and finish by making a web page respond to clicks.
Lessons
- 1Running JavaScriptThe browser console, adding a script to a web page, and running files with Node.js.
- 2Variables, Types & Stringslet and const, numbers, strings, booleans, null and undefined, template literals, and === vs ==.
- 3Decisions & Loopsif / else, switch, the ternary operator, truthy and falsy values, for, for...of and while.
- 4Functions & ScopeFunction declarations, arrow functions, parameters and defaults, return values and scope.
- 5Arrays & ObjectsStore data in arrays and objects; transform it with map, filter, find and reduce; destructuring and spread.
- 6Numbers, Dates & Intl FormattingFloating-point pitfalls, safe money handling, the Date object and locale-aware formatting with Intl.
- 7Your First Interactive PageSelect elements, change text and styles, create elements and respond to clicks.