Skip to content

Commit 540d4d6

Browse files
Remove Form-Controls changes not part of Sprint 2
1 parent e99d5ac commit 540d4d6

2 files changed

Lines changed: 5 additions & 66 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 5 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,27 @@
1-
<!doctype html>
1+
<!DOCTYPE html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
66
<title>My form exercise</title>
77
<meta name="description" content="" />
88
<meta name="viewport" content="width=device-width, initial-scale=1" />
9-
<link rel="stylesheet" href="style.css" />
109
</head>
1110
<body>
1211
<header>
1312
<h1>Product Pick</h1>
1413
</header>
1514
<main>
1615
<form>
16+
<!-- write your html here-->
1717
<!--
18-
Requirements:
19-
- Name: required, at least 2 non-space characters
20-
- Email: required, valid email format
21-
- Colour: required, choose 1 of 3 options
22-
- Size: required, choose 1 of 6 sizes
23-
- No form action needed for this project
24-
-->
25-
<div class="field">
26-
<label for="name">Name</label>
27-
<input
28-
type="text"
29-
id="name"
30-
name="name"
31-
pattern=".*\S.*\S.*"
32-
required
33-
/>
34-
</div>
35-
<div class="field">
36-
<label for="email">Email</label>
37-
<input type="email" id="email" name="email" required />
38-
</div>
39-
<fieldset>
40-
<legend>Colour</legend>
41-
42-
<label>
43-
<input type="radio" name="colour" value="black" required /> Black
44-
</label>
45-
46-
<label>
47-
<input type="radio" name="colour" value="white" /> White
48-
</label>
49-
50-
<label> <input type="radio" name="colour" value="red" /> Red </label>
51-
</fieldset>
52-
<div class="field">
53-
<label for="size">Size</label>
54-
<select id="size" name="size" required>
55-
<option value="">Select a size</option>
56-
<option value="XS">XS</option>
57-
<option value="S">S</option>
58-
<option value="M">M</option>
59-
<option value="L">L</option>
60-
<option value="XL">XL</option>
61-
<option value="XXL">XXL</option>
62-
</select>
63-
</div>
64-
<button type="submit">Submit</button>
18+
try writing out the requirements first as comments
19+
this will also help you fill in your PR message later-->
6520
</form>
6621
</main>
6722
<footer>
6823
<!-- change to your name-->
69-
<p>By Lamla Kamana</p>
24+
<p>By HOMEWORK SOLUTION</p>
7025
</footer>
7126
</body>
7227
</html>

‎Form-Controls/style.css‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)