Skip to content
Closed
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
64 changes: 63 additions & 1 deletion Form-Controls/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,73 @@ <h1>Product Pick</h1>
<!--
try writing out the requirements first as comments
this will also help you fill in your PR message later-->

<!-- Costumer information -->
<p>Please complete all required (*) fields.</p>
<section>
<h2>Customer information</h2>
<p>
<label for="name">Name *:</label>
<input type="text" id="name" name="username" required />
</p>
<p>
<label for="mail">Email *:</label>
<input type="email" id="mail" name="user-mail" required />
</p>
</section>

<!-- T-shirt information -->
<section>
<h2>T-shirt information</h2>
<fieldset>
<legend>Colors: </legend>
<ul>
<li>
<label for="Red">
<input type="radio" id="Red" name="Colors" value="Red" required />
Red
</label>
</li>
<li>
<label for="Green">
<input type="radio" id="Green" name="Colors" value="Green" required />
Green
</label>
</li>
<li>
<label for="Blue">
<input type="radio" id="Blue" name="Colors" value="Blue" required />
Blue
</label>
</li>
</ul>
</fieldset>
<p>
<label for="size">
<span>Size:</span>
</label>
<select id="size" name="T-shirt_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>
</p>
</section>

<!-- Submit button -->
<section>
<p>
<button type="submit">Submit</button>
</p>
</section>
</form>
</main>
<footer>
<!-- change to your name-->
<h2>By HOMEWORK SOLUTION</h2>
<h2>By José López</h2>
</footer>
</body>
</html>
Loading