Skip to content
43 changes: 35 additions & 8 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,51 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>My form exercise</title>
<meta name="description" content="" />
<meta name="description" content="form exercise demonstrating accessible form controls." />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<header>
<h1>Product Pick</h1>
<h1>My Store T-shirt Sales</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-->
<div>
<label for="name">Name</label>
<input type="text" name="name" id="name" placeholder="Username" required>
</div>

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

<div>
<label for="Color">Color</label>
<select name="Select a color" id="Select a color" required>
<option value="" disabled selected>-- select a color --</option>
Comment thread
TTiamiyu marked this conversation as resolved.
Outdated
<option value="Black">Black</option>
<option value="Blue">blue</option>
<option value="Green">green</option>
</select>
</div>

<div>
<label for="size">size</label>
<select name="size" id="size" required>
<option value="" disabled selected> -- 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>
</div>
</form>
</main>
<footer>
<!-- change to your name-->
<p>By HOMEWORK SOLUTION</p>
<p>Exercise by Toluwalase Tiamiyu</p>
</footer>
</body>
</html>
Loading