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
52 changes: 45 additions & 7 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 @@ -7,21 +7,59 @@
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>

<body>
<header>
<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-->
<div>
<label for="name">Name</label>
<input
type="text"
name="name"
id="name"
required
pattern=".*\S.*\S.*"
title="at least two(2) characters with no spaces."
/>
</div>
<br />
<div>
<label for="email">E-mail</label>
<input type="email" name="email" id="email" required />
</div>
<br />
<div>
<label for="colour">select colour</label>
<select name="colour" id="colour" required>
<option value="" disabled selected>Select a colour</option>
<option value="brown">brown</option>
<option value="yellow">yellow</option>
<option value="green">green</option>
</select>
</div>
<br />
<div>
<label for="size"> select size</label>
<select name="size" id="size" required>
<option value="" disabled selected>Select a size</option>
<option value="xs">XS(extra small)</option>
<option value="s">S(small)</option>
<option value="m">M(medium)</option>
<option value="l">L(large)</option>
<option value="xl">XL(extra large)</option>
<option value="xxl">XXL(double extra large)</option>
</select>
</div>
<br />
<button type="submit">Submit</button>
</form>
</main>

<footer>
<!-- change to your name-->
<p>By HOMEWORK SOLUTION</p>
<p>By Boualem Larbi Djebbour</p>
</footer>
</body>
</html>
Loading