26. Forms and validation

Unlock this lesson

Create a free account, then buy the course to open every lesson.

What you will learn in this lesson

  • What validation is and why every form needs it.
  • How the browser checks a field for you with required and type="email".
  • How to run your own check when a form is sent.
  • How to read what the visitor typed, and stop the page from reloading.

60 minutes Lesson 26 of 30

Everything in Web Foundations

  • 30 step-by-step lessons
  • 3 mini projects with solutions
  • A final project for your portfolio
  • Real commands and real output in every lesson
  • Practice task with a solution in each lesson
  • Progress saved to your account