Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,58 @@ <h1>Product Pick</h1>
<main>
<form>
<!-- write your html here-->
<div>
<legend>Customer details</legend>
<label for="firstname">First name:</label>
<input type="text" id="firstname" name="firstname" required .*\S.*\S.*> <br>
<label for="lastname">Last name:</label>
<input type="text" id="lastname" name="lastname" required>
<button type="Submit">Submit</button>
</div>

<div>
<label for="email"> Email:</label>
<input type="email"name="email" id="email" required>
<button type="Submit">Submit</button>

</div>

<div>
<label for="T-shirt colour">Select one T-shirt colour:</label>
<select name="T-shirt colour" id="T-shirt colour" required>
<option value="">Choose one colour</option>
<option>Black</option>
<option>Navy blue</option>
<option>Grey</option>
</select>

<button type="Submit">Submit</button>
</div>

<div>
<label for="T-shirt Size">Select one size:</label>
<select name="T-shirt Size" id="T-shirt Size" required>
<option value=""> Choose one size</option>
<option>XS</option>
<option>S</option>
<option>M</option>
<option>L</option>
<option>XL</option>
<option>XXL</option>

<button type="Submit">Submit</button>
</select>

</div>









<!--
try writing out the requirements first as comments
this will also help you fill in your PR message later-->
Expand Down
Loading