MODULE 01 · BEGINNER

Getting Started with JavaScriptJavaScript Mastery · Module 1

Open a browser, write your first lines of JavaScript, and learn how values, variables, and programs fit together.

5 lessons20 min readingBuild a real JavaScript foundation1 project
Free, self-paced, and open to everyone. No account needed.
WHAT THIS MODULE COVERS

Getting Started with JavaScript

Open a browser, write your first lines of JavaScript, and learn how values, variables, and programs fit together.

BEFORE YOU START

No programming experience needed. A browser and a code editor are enough.

WHAT YOU’LL BE ABLE TO DO

Run JavaScript in the browser and in Node, store values in variables, inspect primitive types, and print a formatted result without guessing.

THE LESSON SEQUENCE

Read in order, or jump to what you need.

Every lesson builds on the one before it. Open any lesson to read the explanation, run the examples, and try the practice challenges.

  1. 01.01
    Welcome to JavaScript

    Explain where JavaScript runs, recognize the parts of a tiny program, and write your first console output.

    4 min
  2. 01.02
    Your First Workspace: Browser, Node & VS Code

    Run JavaScript in the browser and with Node.js, organize a small project, and read your first errors.

    4 min
  3. 01.03
    Variables, Names & Assignment

    Store values in well-named variables and trace how declaration, reassignment, and block scope change a program.

    4 min
  4. 01.04
    Primitive Types & Safe Conversions

    Identify JavaScript's primitive values, inspect them with typeof, and convert between text, numbers, and booleans on purpose.

    4 min
  5. 01.05
    Project: Console Profile CardProject

    Build a guided console project that stores a learner profile, formats a multi-line card, and handles a missing optional field.

    4 min
MODULE SELF-CHECK

Ready to move on?

Build a console profile card from scratch, run it, intentionally break it, and fix the error using the browser or terminal error message.

Open the module self-check