Skip to content

Commit 2cddd89

Browse files
committed
change the pattern in input name to .\*S.\*S*.
1 parent 444811f commit 2cddd89

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Form-Controls/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
<header>
1313
<h1>Product Pick</h1>
1414
</header>
15-
<main>
16-
<form>
17-
<label for="name">Name:</label>
15+
<main>
16+
<form>
17+
<label for="name">Name:</label>
1818
<input type="text" id="name" name="name"
19-
pattern=".*\s.*\s*" required title ="Please enter full name"/>
20-
<label for="email">Email:</label>
21-
<input type="email" id="email" name="email" required/>
19+
pattern=".*\S.*\S*" required title ="Please enter full name"/>
20+
<label for="email">Email:</label>
21+
<input type="email" id="email" name="email" required/>
2222
<br>
2323
<div>
2424
<label for="color">Choose a color:</label>

0 commit comments

Comments
 (0)