JS

JavaScript — Beginner

BeginnerBrowser · 7 lessons

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

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