HTML & JavaScript basics

Learning path

HTML & JavaScript basics

Create a small page, add a button, and make it respond with JavaScript.

Before you start

A text editor and a browser. No framework or build tool is needed for these examples.

Open the first guide

Learning path · 4 guides

Work through the small examples in a separate practice folder, keeping the HTML and script filenames consistent.

Official documentation ↗

Module 1

Build the page

Module 2

Add JavaScript