Skip to content

Apr 07: Validating Input

Learning Objectives

After today’s class, you should be able to:

  • Design an HTML form with at least 10 different types of input.
  • Perform client-side validation using built-in form attributes.
  • Describe how regular expressions can be used for validation.

Lesson Outline

Lecture [20 min]

Project [15 min]

Activity [40 min]

  • Project claims (3 min per team)
  • Play Fetch: Parts 1–2 today, Part 3 on Thursday
    • Note: Don’t worry about GitHub Classroom
    • Clone play-fetch or click “Use this template”

Before Thursday

  1. Submit Prep 10 on Gradescope. ← Due Wed at 11:59pm
  2. Make progress on Project 2 in your teamXX repository.