Skip to content

JavaScript Beginner

Hub › JavaScript › Beginner

What you'll build

A command-line todo app in plain JavaScript on Node.js — no frameworks, no third-party packages. node cli.js add "buy milk" appends a todo to a todos.json file; node cli.js list prints your todos as numbered rows. The todo logic lives in a small module you test with Node's built-in test runner.

The ladder

  1. 01 Install Node
  2. 02 Values and types
  3. 03 Functions and modules
  4. 04 Read and write JSON
  5. 05 The add command
  6. 06 The list command
  7. 07 Tests