Skip to content

Commit 78f7ea7

Browse files
committed
I removed unnecessary spaces in the form-controls
1 parent abae8b4 commit 78f7ea7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Form-Controls/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ <h1>Product Pick</h1>
1616
<p>
1717
<div>
1818
<label for="name">NAME *</label> <!--write customer's name input-->
19-
<input type="text" name="name" id="name" minlength="2" maxlength="20" pattern=" [A- Za-z]+" title=" only latters and spaces allowed " required>
19+
<input type="text" name="name" id="name" minlength="2" maxlength="20" pattern="[A- Za-z]+" title=" only latters and spaces allowed " required>
2020
</div>
2121
</p>
2222
<p>
2323
<div>
2424
<label for="email">Email *</label> <!-- customer's email -->
25-
<input type="email" name="email" id="email" pattern=" [a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" required>
25+
<input type="email" name="email" id="email" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$" title="please enter a valid email address" required>
2626
</div>
2727
</p>
2828
<div>

0 commit comments

Comments
 (0)