Course

JavaScript Basics

Learn JavaScript from script setup through values, functions, arrays, objects, and browser events in a small interactive project.

<p>Examples use modern JavaScript and run either in Node.js or in a browser, as identified by the lesson. Read the environment notes before copying code.</p>

Prerequisites

A modern web browser and a text editor. Node.js is useful for the terminal examples but is not required for browser lessons.

Estimated study time: 500 minutes

Published lessons: 10

Syllabus

  1. Start with JavaScript

    <p>Run JavaScript in a clear environment and learn how names hold values.</p>
  2. Values and decisions

    <p>Work with JavaScript&#x27;s common value types and write conditions that make rules clear.</p>
  3. Loops, functions, and collections

    <p>Repeat work deliberately, package behavior into functions, and organize related values.</p>
  4. Browser interaction project

    <p>Connect JavaScript to real page elements and build a small interaction without losing accessibility.</p>