Courses / Start here / JavaScript Programming

Free courseSelf-paced

JavaScript Programming

Build, test and demonstrate a persistent Node.js application, with error handling and tests for normal, boundary and invalid input.

  • Who it's for. Learners who can trace simple logic and want JavaScript as a working programming language.
  • Before you start. Programming Problem Solving or equivalent: trace a short loop, read a condition and split a task into steps. You must be able to open a terminal, change folder, save a file and run a command.
  • 56 to 92 hours of study with practice
  • 14 modules, 122 lessons
  • 4 guided projects and a final project

What you'll learn

  • Run JavaScript files with Node.js and read error reports by name, file, line and column.
  • Write and trace conditions, loops and functions with defined contracts, including empty-input behaviour.
  • Split code into ES modules and write normal, boundary and invalid-input tests with node:test and node:assert.
  • Use promises, async/await and fetch, and tell transport, status and body failures apart.
  • Build, test and demonstrate a persistent Node.js application from pinned setup records.

Skills you'll gain

  • Your JavaScript workspace
  • Values
  • variables
  • types
  • Expressions
  • operators
  • Decisions
  • validation
  • Loops
  • iteration
  • Functions
  • contracts
  • Strings
  • text processing

Tools you'll use

  • JavaScript
  • Node.js
  • node:test
  • node:assert
  • fetch
  • JSON
  • npm (package.json scripts and lockfile)

Details to know

  • Certificate on completionIssued after your final project is reviewed
  • 14 module checkpointsA quiz and a practical task close each module
  • Self-pacedStudy any time; your progress is saved

How every lesson works

Each lesson follows the same four steps, so you always know what comes next.

  1. 01

    Watch & Learn

    A short animated video explains one idea at a time.

  2. 02

    Guided Practice

    Work through an example step by step and check the result.

  3. 03

    Quiz & Challenge

    Short questions check the idea has landed before you move on.

  4. 04

    Mini Project

    Build something useful from a project brief.

Learn at your own pace

This is a self-paced course. There are no live classes and no fixed timetable.

  • Start any timeStudy when it suits you. Lessons are short, so they fit around work or college.
  • Pick up where you left offYour progress is saved to your account.
  • Ask when you're stuckUse Ask Mentor inside the learning platform.

Your path in 4 phases

Each phase ends with something you have built and checked.

  1. 01

    Modules 1 to 4

    Values and decisions

    Set up a JavaScript workspace, then work with values, types, expressions, decisions and validation.

    You build: Typed profile card (after module 2) and bill and eligibility checker (after module 4).

  2. 02

    Modules 5 to 9

    Loops, functions and data

    Write loops and functions with contracts, process strings, arrays and objects.

    You build: Expense summary and calculation library (after module 6) and shopping-list and contact-record modules (after module 9).

  3. 03

    Modules 10 to 12

    Modules, tests and async

    Use scope, closures and ES modules, debug and test, then handle asynchronous work.

    You build: Stateful inventory module with tests (after module 11) and an async loader with states (after module 12).

  4. 04

    Modules 13 to 14

    Node.js application

    Work with files and configuration in Node.js, then build, test and demonstrate the final project.

    You build: Persistent notes tool with JSON storage and a restart demonstration (after module 13).

Full curriculum

14 modules and 122 lessons, 56 to 92 hours of study

01Your JavaScript workspace8 lessons, 4 to 6 hours

Lessons

  • What JavaScript does
  • Programs, values and output
  • Browser and Node.js environments
  • Source files and running a script
  • Statements and syntax
  • Reading error locations
  • Comments and readable formatting
  • First independent script

After this module you can

  • Distinguish language behaviour from capabilities supplied by a browser or Node.js.
  • Trace a small sequence of expressions and printed results.
  • Write and explain a small script without copying an expected output.
02Values, variables and types9 lessons, 4 to 6 hours

Lessons

  • Declaring with const and let
  • Names and reassignment
  • Numbers and numeric limits
  • Text values
  • Booleans
  • Undefined and null
  • typeof and type checks
  • Explicit conversions
  • Personal profile feature

After this module you can

  • Select a declaration based on whether the binding will be reassigned.
  • Choose meaningful names and trace reassignment separately from object mutation.
  • Build a data-backed profile summary using variables and explicit types.
03Expressions and operators9 lessons, 4 to 6 hours

Lessons

  • Arithmetic expressions
  • Precedence and grouping
  • Remainder and integer questions
  • Comparison and strict equality
  • Logical AND and OR
  • Negation and truthiness
  • Nullish coalescing
  • Assignment expressions
  • Bill calculation feature

After this module you can

  • Apply arithmetic operations with the required operand types.
  • Predict grouped versus ungrouped expression evaluation.
  • Calculate a bill from variable inputs with documented units and rounding assumptions.
04Decisions and validation8 lessons, 4 to 6 hours

Lessons

  • if and else
  • Multiple conditions
  • Nested decisions
  • Conditional expressions
  • switch and matching
  • Guard clauses
  • Boundary values
  • Eligibility feature

After this module you can

  • Select a branch from an explicit condition.
  • Order related branches to avoid unreachable cases.
  • Build a clear eligibility decision from supplied data without hardcoded answers.
05Loops and iteration9 lessons, 4 to 6 hours

Lessons

  • while loops
  • for loops
  • do while
  • for of
  • break and continue
  • Accumulators
  • Nested loops
  • Infinite loop diagnosis
  • Expense summary loop

After this module you can

  • Trace the condition, body and update that make a loop terminate.
  • Express bounded counted repetition.
  • Summarize supplied transactions and account for empty input.
06Functions and contracts9 lessons, 4 to 6 hours

Lessons

  • Function declarations
  • Arguments and return values
  • Defaults and missing arguments
  • Arrow functions
  • Local variables
  • Pure operations and side effects
  • Decomposition
  • Recursion basics
  • Reusable calculation library

After this module you can

  • Define a reusable named operation with explicit parameters.
  • Separate supplied arguments, returned results and printed output.
  • Implement and test related operations under documented contracts.
07Strings and text processing8 lessons, 4 to 6 hours

Lessons

  • String indexes and length
  • Template literals
  • Escapes and multiline text
  • Slicing text
  • Finding and testing text
  • Trimming and case conversion
  • Splitting and joining
  • Text formatting feature

After this module you can

  • Distinguish UTF-16 code units from human-readable characters.
  • Construct a readable message using evaluated values.
  • Build a formatter with explicit missing/empty input behavior.
08Arrays and collection operations10 lessons, 4 to 7 hours

Lessons

  • Creating and indexing arrays
  • Adding and removing elements
  • Iterating collections
  • map transformations
  • filter selection
  • find and some
  • reduce and initial values
  • Sorting and comparison
  • Shallow array copies
  • Shopping-list feature

After this module you can

  • Access known positions and distinguish an absent element.
  • Select a mutation operation and observe its effect on length.
  • Implement several collection operations with tests for absent and repeated items.
09Objects and application data9 lessons, 4 to 6 hours

Lessons

  • Properties and records
  • Property access
  • Object methods
  • this in different calls
  • Destructuring
  • Spread and shallow copying
  • Object keys and iteration
  • JSON representation
  • Contact-record feature

After this module you can

  • Model related facts using named properties.
  • Choose dot or bracket access and handle a missing property.
  • Implement a bounded record workflow with meaningful validation and state tests.
10Scope, closures and modules8 lessons, 3 to 5 hours

Lessons

  • Block and function scope
  • Declaration timing
  • Closures
  • Callbacks
  • Accidental shared state
  • Imports and exports
  • Module boundaries
  • Stateful feature review

After this module you can

  • Predict where a binding is available.
  • Explain temporal dead zones without treating declaration syntax as initialization.
  • Build a small controlled stateful API and test isolated instances.
11Errors, debugging and tests8 lessons, 3 to 6 hours

Lessons

  • Syntax versus runtime errors
  • Throwing domain errors
  • try catch finally
  • Error objects and causes
  • Debugger stepping
  • Assertions and expected results
  • Normal and boundary tests
  • Defect and regression feature

After this module you can

  • Distinguish parsing failure from failure during execution.
  • Report a rejected operation with useful context.
  • Reproduce a defect, repair it and retain a regression check.
12Asynchronous JavaScript10 lessons, 4 to 7 hours

Lessons

  • Synchronous and scheduled work
  • Timers and cancellation
  • Promise states
  • Promise chaining
  • async and await
  • Asynchronous error handling
  • Concurrent operations
  • Race conditions
  • Fetch and response checks
  • Async data feature

After this module you can

  • Distinguish immediate execution from work scheduled for later.
  • Schedule bounded work and cancel it under a defined condition.
  • Build a bounded loading/error/result workflow with repeatable tests.
13Node.js, files and configuration9 lessons, 4 to 6 hours

Lessons

  • Node modules and packages
  • Process input and output
  • Paths and working directory
  • Reading UTF-8 files
  • Writing and persistence
  • Validated configuration
  • Dependency and version records
  • Command-line interaction
  • Persistent notes feature

After this module you can

  • Distinguish built-in capabilities from pinned external dependencies.
  • Read controlled arguments and label stdout/stderr.
  • Demonstrate saved data after a new process starts.
14Build, test and demonstrate8 lessons, 4 to 6 hours

Lessons

  • Project choice and scope
  • Application responsibilities
  • Core feature implementation
  • Invalid input and preserved state
  • Persistence and restart tests
  • Refactoring with regression checks
  • Demonstration and source identity
  • Final submission review

After this module you can

  • Select comparable required features and identify optional enhancements.
  • Separate data, validation, operations, persistence and interaction.
  • Submit source, environment, test evidence and walkthrough for trainer evaluation.

What you'll build

4 guided projects along the way, then a final project.

  • Typed profile card

    after module 2
  • Expense summary and calculation library

    after module 6
  • Stateful inventory module with tests

    after module 11
  • Persistent notes tool with JSON storage and a restart demonstration

    after module 13

Final project

Choose one: an expense planner (catalog capstone), a study-session tracker or an event-booking manager, each rejecting invalid entries and persisting data across restarts.

What you submit

Repository or archive with a revision identifier, a node:test suite with normal, boundary and invalid-input cases, restart and damaged-file evidence, setup instructions with runtime version and lockfile.

How it's reviewed

Trainer-reviewed demonstration from the submitted revision, scored on correctness, state safety, tests, structure, persistence, reproducibility and communication.

Where you'll use it

  • Write a Node.js script that loads a JSON file, validates entries and reports totals.
  • Reproduce a reported bug with a failing node:test case, fix it and keep the test as a regression check.

Roles that use these skills

  • JavaScript developer (junior)
  • Node.js developer (junior)
  • Web developer

Earn the certificate by building, not watching

  1. Complete the lessons and pass each module checkpoint.
  2. Build your final project and demonstrate it.
  3. OUTLEARN reviews your project and issues your certificate. It is not issued automatically.

Frequently asked questions

Do I need HTML or browser knowledge?

No. The course runs JavaScript in Node.js; the browser-page project option uses a supplied starter page.

What if I find tracing loops difficult?

Take the ungraded diagnostic; if tracing the loop is difficult, finish the earlier course first.

How is the final project reviewed?

A trainer watches you run it from the submitted revision, including an error case and a restart.

Be first in when JavaScript Programming opens

Email us and we will tell you as soon as enrolment opens.

Notify me when it opens
FreeOpens soon
Notify me