Add a contact form with an interactive phone number field that formats the number as the user types.
MediumProblem Statement
Add a contact form with an interactive phone number field that formats the number as the user types.
Sample Input
A phone input with automatic formatting.
Sample Output
The webpage displays a phone input that formats as (xxx) xxx-xxxx as the user types.
Limits
Time: 2s · Memory: 256 MB
Code Editor
Log in to submit00:00
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