Practice Real Company Assessment Patterns • Latest 2025–2026 Mock Tests

Programming Exercises

Add a form with input validation for an email field using the required attribute and pattern matching.

Medium

Problem Statement

Add a form with input validation for an email field using the required attribute and pattern matching.

Sample Input

A form with validated email input.

Sample Output

The form only submits if a valid email is entered.

Limits

Time: 2s · Memory: 256 MB

Code Editor

Try your code in this preview. Submit marks it done.

<!doctype html> <html></html>

Document

To view the HTML changes, please type the code within the editor