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
61 changes: 54 additions & 7 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,62 @@ <h1>Product Pick</h1>
</header>
<main>
<form>
<!-- write your html here-->
<!--
try writing out the requirements first as comments
this will also help you fill in your PR message later-->
</form>
<fieldset>
<legend>Order your custom T‑shirt</legend>

<label for="name">Customer Name:</label>
<input
type="text"
id="name"
name="name"
required
pattern="[A-Za-z ]{2,}"
placeholder="Enter your full name">

<br><br>

<label for="email">Email Address:</label>
<input
type="email"
id="email"
name="email"
required
placeholder="example@email.com">

<br><br>

<label for="colour">T‑shirt Colour:</label>
<select id="colour" name="colour" required>
<option>Choose a colour</option>
<option>Red</option>
<option>Blue</option>
<option>Black</option>
</select>

<br><br>

<label for="size">T‑shirt Size:</label>
<select id="size" name="size" required>
<option>Choose a size</option>
<option>XS</option>
<option>S</option>
<option>M</option>
<option>L</option>
<option>XL</option>
<option>XXL</option>
</select>

<br><br>

<button type="submit">Submit Order</button>
</fieldset>

</form>

</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>

<h2>By Said Fayaz Sadat</h2>
</footer>
</body>
</html>
Loading