W3docs
JS

201 chapters

Learn JavaScript

A complete, beginner-friendly guide to JavaScript — the language that makes web pages interactive. Learn variables, functions, objects, the DOM, browser events, promises, async/await, classes, and the Fetch API, with runnable examples and practice tasks in every chapter.

Javascript Basic

Objects: the basics

Data types

Advanced functions

Object properties configuration

Javascript HTML DOM

Prototypes, inheritance

Classes

Error handling

Promises, async/await

Generators, advanced iteration

Modules

Miscellaneous

Frames and windows

Binary data, files

Document

Introduction to Events

UI Events

Forms, controls

Document and resource loading

Various

Javascript References

Network requests

Storing data in the browser

Animation

Web Components

Regular expressions

Javascript APIs