Getting Started with JavaScript
Open a browser, write your first lines of JavaScript, and learn how values, variables, and programs fit together.
No programming experience needed. A browser and a code editor are enough.
Run JavaScript in the browser and in Node, store values in variables, inspect primitive types, and print a formatted result without guessing.
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.
- 01.01Welcome to JavaScript4 min
Explain where JavaScript runs, recognize the parts of a tiny program, and write your first console output.
- 01.02Your First Workspace: Browser, Node & VS Code4 min
Run JavaScript in the browser and with Node.js, organize a small project, and read your first errors.
- 01.03Variables, Names & Assignment4 min
Store values in well-named variables and trace how declaration, reassignment, and block scope change a program.
- 01.04Primitive Types & Safe Conversions4 min
Identify JavaScript's primitive values, inspect them with typeof, and convert between text, numbers, and booleans on purpose.
- 01.05Project: Console Profile CardProject4 min
Build a guided console project that stores a learner profile, formats a multi-line card, and handles a missing optional field.
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