MAKE THE PAGE DO SOMETHING

JavaScript Guide

Start with a value. Turn it into a decision. Build a page that responds to you.

From reading code to running it

A beginner companion to your HTML and Git guides. Learn one idea at a time, edit real examples, and use W3Schools for further reading. This guide focuses on browser JavaScript; you do not need Node.js, a framework, or an online account.

HTML: structure

A button and a place for a message.

CSS: appearance

Colors, spacing, and layout.

JavaScript: behavior

Make that button update the message.

Start here

Know a little HTML? Begin with lesson 1. Predict the output, run the example, change one value, then complete the exercise before opening its answer. Use your browser’s Developer Tools console when working in your own files.

YOUR FIRST PROGRAM

Say hello with JavaScript →

Connect a script to HTML and run your first statements.

Explore the topics

Keep these nearby

Quick reference and vocabulary · W3Schools reading list

Reading works without JavaScript. The editable runners execute when you press Run and refresh their preview each time. Changes to examples are temporary and are not saved.

Your learning library

HTML Guide · Git & Version Control Guide