Skip to content
Open
60 changes: 58 additions & 2 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand All @@ -17,11 +17,67 @@ <h1>Product Pick</h1>
<!--
try writing out the requirements first as comments
this will also help you fill in your PR message later-->

<!-- TODO1: Customer name -->
<div>
<label for="name">Full Name:</label>
<input
type="text"
name="name"
id="name"
placeholder="Enter Your Name"
required
pattern=".*\S.*\S.*"
/>
<br><br>
</div>

<!-- TODO2: Customer email -->
<div>
<label for="email">Enter Your Email:</label>
<input
type="email"
id="email"
name="email"
placeholder="Email"
required
/>
<br><br>
</div>

<!-- TODO3: Colors to choose from -->
<div>
<label for="color">Color</label>
<select name="color" id="color" required>
<option value="">Please choose a color</option>
<option value="navy">Navy</option>
<option value="sage green">Sage Green</option>
<option value="charcoal">Charcoal</option>
</select>
<br><br>
</div>

<!-- TODO4: Sizes to choose from -->
<div>
<label for="size">Choose a Size</label>
<select name="size" id="size" required>
<option value="">Select a size</option>
<option value="XS">XS</option>
<option value="S">S</option>
<option value="M">M</option>
<option value="L">L</option>
<option value="XL">XL</option>
<option value="XXL">XXL</option>
</select>
<br><br>
</div>

<button type="submit">Submit</button>
</form>
</main>
<footer>
<!-- change to your name-->
<p>By HOMEWORK SOLUTION</p>
<p>By RAHANA SULEIMAN</p>
</footer>
</body>
</html>
Loading