Loading video player…

Forms and Controls for Everyone (Overview)

Welcome to Forms and Controls for Everyone. Forms are how apps take input. In the browser, you can check it instantly. You’ll read forms, and build controls anyone can use by mouse, keyboard alone, or screen reader.

Here’s a first taste: Sam’s recipe box. No mouse here. Tab moves the focus, the highlighted control where your typing goes. Enter adds Tomato soup, and a status line says Tomato soup added.

Tab on to the Add recipe button, then press / to jump to Filter. Type soup, and two recipes are left. Delete the lentil soup, and a dialog asks first. Confirm, and the status line says it’s deleted, for screen readers too. The focus lands on the next Delete button.

If you’ve followed the path, you met Sam at Priya’s game nights. Now Sam wants the family recipes on a page. Nothing’s saved yet. Saving comes later in the recipe box’s story.

What You’ll Learn

The lessons build Sam’s shopping list, and the recipe box is the final project. You’ll start from two boxes, then check input, add shortcuts and controls, move the focus, and ask with a dialog.

By the end of this course, you’ll be able to take structured input through a validated form, and build controls that work with a keyboard alone and tell screen-reader users what changed.

Before You Start

You need the JavaScript basics. You should also have made a page react to clicks and redraw from an array with a render() function. Bring a current Chrome or Edge, plus VS Code with its Live Preview extension.

How the Course Works

Text lessons and videos teach each idea. Each section ends with a browser exercise whose tests check your code. Then you build the recipe box in three graded exercises, talk it through with RealJS’s AI mentor, and take a quiz.

Next up: Read What Someone Types.

Download

Course Slides (.pdf)

2.2 MB
Download

Sample Code (.zip)

16.3 KB

00:00 Welcome to Forms and Controls for Everyone.

00:04 Forms are how apps take input. In the browser, you can check it instantly. You’ll read forms, and build controls anyone can use by mouse, keyboard alone, or screen reader.

00:15 Here’s a first taste: Sam’s recipe box. No mouse here. The ring is the focus, where your typing goes. Tab moves it along. Enter adds Tomato soup, and a status line says so.

00:32 Slash jumps to Filter. Type soup, and two recipes are left. Delete the lentil soup, and a dialog asks first. Confirm, and the status line says it’s deleted, for screen readers too.

00:46 The focus lands on the next Delete button.

00:50 If you’ve followed the path, you met Sam at Priya’s game nights. Now Sam wants the family recipes on a page. Nothing’s saved yet. Saving comes later in the recipe box’s story.

01:04 The lessons build Sam’s shopping list, and the recipe box is the final project. You’ll start from two boxes, then check input, add shortcuts and controls, move the focus, and ask with a dialog.

01:19 By the end, you’ll be able to take structured input through a validated form, and build controls that work with a keyboard alone and tell screen-reader users what changed.

01:31 You need the JavaScript basics. You should also have made a page react to clicks and redraw from an array. Bring a current Chrome or Edge, plus VS Code with Live Preview.

01:43 Text lessons and videos teach each idea. Each section ends with a browser exercise whose tests check your code. Then you build the recipe box in three graded exercises, talk it through with RealJS’s AI mentor, and take a quiz.

02:00 Next up: Read What Someone Types.

Become a Member to join the conversation.