Skip to content

[WEBDEV] TASK-03: Create a Form with Client-Side Validation #79

@ShubhamKumarSahu-svg

Description

@ShubhamKumarSahu-svg

📌 What You Will Learn

  • Handling user input
  • Writing validation logic
  • Showing user-friendly error messages

🛠 What You Have To Do

  1. Create a form with fields like:

    • Name
    • Email
    • Message
  2. When the user submits the form:

    • Check if fields are empty
    • Check if email format is valid
  3. Show error messages below the fields

  4. Allow submission only if all inputs are valid


📁 Where To Work

webdev/contributors/<your_enrollment_number>/task-04/


✅ When Is This Task Complete?

  • No alert() popups
  • Errors are shown clearly
  • Form works correctly

❌ Rules

  • ❌ No backend
  • ❌ No form libraries

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions