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
-
Start with JavaScript
<p>Run JavaScript in a clear environment and learn how names hold values.</p> -
Values and decisions
<p>Work with JavaScript's common value types and write conditions that make rules clear.</p> -
Loops, functions, and collections
<p>Repeat work deliberately, package behavior into functions, and organize related values.</p> -
Browser interaction project
<p>Connect JavaScript to real page elements and build a small interaction without losing accessibility.</p>