
input vs change in JavaScript: when each event fires, which one to use for search, sliders and checkboxes — and why React's onChange works differently.

Checkbox vs toggle switch: how they differ, when to use each in forms and settings, and one rule that clears up almost every doubt about which one to pick.

How to turn a string into a number in JavaScript: Number, parseInt or parseFloat. Step by step — with empty fields, spaces in "1 200" and a decimal comma.

An input field zooms the page on iPhone because its font size is under 16px. How to check it, how to fix it, and why the maximum-scale advice only hurts.

The form empties itself after an error and people retype it all. Three causes: a blank server re-render, a remounted component, and a Back that never restored.

Autofill doesn't read your name or id — it reads the autocomplete attribute. Here's the word list browsers look for, and why you can't just switch it off.

An input mask types the brackets and dashes for you. Here's why it validates nothing, where pasting breaks it, and what to use instead in your forms.

A required field is the required attribute plus a marker for humans. Why NN/g and GOV.UK give opposite advice — and how to pick the rule for your own form.

A step-by-step walkthrough: how to split a long form into screens, where to keep the answers, how not to lose them on Back, and why you need a review screen.

Dropdown vs radio buttons compared on the criteria a beginner can actually see: taps, visible options, small screens — plus a straight rule for choosing.

A placeholder saves space but disappears as you type. We compare placeholder vs label on six criteria and give a straight answer on what to use.

"I clicked and nothing happened" — yet the error is displayed. Three reasons your error message never reaches the user, and a one-minute check for each of them.

Toast vs inline error, compared on visibility, accessibility and message length. A straight answer on where form errors belong and when a toast is the right call.

Six strings worth typing into your own form: what should happen, and what it means if something else does. A five-minute self-check for holes.

A step-by-step walkthrough: how to validate form data on the server — schema, allowlist, normalization and limits. With code and human error messages.