Skip to content

Commit b14a6c9

Browse files
committed
Added type for email aswell as placeholders and pattern for "name"
1 parent 1a80e0b commit b14a6c9

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
@@ -15,11 +15,11 @@ <h1>Product Pick</h1>
1515
<form>
1616
<div>
1717
<label for="name">Name:</label>
18-
<input type+text id="name">
18+
<input type+text id="name" placeholder="Hugh Mills" pattern="`.*\S.*\S.*`. ">
1919
</div>
2020
<div>
2121
<label for="email">Email:</label>
22-
<input type="text" id="email">
22+
<input type="email" id="email" placeholder="hugh.mills@myemail.com">
2323
</div>
2424
<div>
2525
<label for="colour">Colour:</label>

0 commit comments

Comments
 (0)