Skip to content

Commit 956c48d

Browse files
committed
pattern
1 parent 6b3b802 commit 956c48d

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,10 +16,10 @@ <h1>Product Pick</h1>
1616
<main>
1717
<form>
1818
<!-- Customer Name Input -->
19-
<p>
19+
<p>
2020
<label for="customerName">Name:</label>
2121
<input type="text" id="customerName" name="customerName" required minlength="2"
22-
placeholder="Enter your full name">
22+
pattern=".*\S.*" placeholder="Enter your full name">
2323
</p>
2424

2525
<!-- Customer Email Input -->

0 commit comments

Comments
 (0)