Skip to content

Commit c30414a

Browse files
adding the pattern attribute to the name label
1 parent 4338fc8 commit c30414a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h1>Product Pick</h1>
1717

1818
<div>
1919
<label for="name"> Name*: </label>
20-
<input type="text" id="name" name="name" required minlength="2">
20+
<input type="text" id="name" name="name" required minlength="2" pattern="[A-Z]">
2121
</div>
2222

2323
<div>

0 commit comments

Comments
 (0)