Skip to content
44 changes: 36 additions & 8 deletions Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,52 @@
<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>
Comment thread
TTiamiyu marked this conversation as resolved.
Outdated
</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="color" id="color" required>
<option value="" disabled selected>
-- select a color --
</option>
<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="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