Free course
Web Forms Course
Learn to build accessible forms, validate input, submit data and files, use FormData, and handle user input safely on the server.
Prerequisites: HTML, JavaScript and HTTP
Your progress
of lessons completed.
Course completed.
What you'll learn
Build accessible forms and understand the complete browser-to-server submission path.
Take this course offline
Subscribe to my newsletter to get every free book and course in PDF and EPUB format.
Get the downloadsCourse contents
What a form does
Controls, name-value pairs, methods, and browser submission.
Text and choice controls
Choose and combine the native controls users need.
Accessible form structure
Labels, instructions, focus, and useful error messages.
Browser validation
Declare input constraints and explain validation errors.
Submission formats
URL encoding, multipart data, FormData, and file uploads.
JavaScript and forms
Handle events and submit data with fetch.
Server-side safety
Validate input and protect form endpoints from abuse.