Skip to content

Commit 43145a0

Browse files
committed
Ran prettier to format document
1 parent 98961ad commit 43145a0

1 file changed

Lines changed: 37 additions & 54 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 37 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
@@ -13,68 +13,51 @@ <h1>Product Pick</h1>
1313
</header>
1414
<main>
1515
<form>
16-
17-
<div>
18-
<label for="fullname">Full name:</label>
19-
<input type="text" id="fullname" name="Fullname" required .*\S.*\S.*> <br>
20-
21-
22-
</div>
16+
<div>
17+
<label for="fullname">Full name:</label>
18+
<input
19+
type="text"
20+
id="fullname"
21+
name="Fullname"
22+
required
23+
.*\S.*\S.*
24+
/>
25+
<br />
26+
</div>
2327

24-
<div>
25-
<label for="email">Email:</label>
26-
<input type="email"name="email" id="email" required>
27-
28-
29-
</div>
28+
<div>
29+
<label for="email">Email:</label>
30+
<input type="email" name="email" id="email" required />
31+
</div>
3032

3133
<div>
3234
<label for="T-shirt colour">Select one T-shirt colour:</label>
33-
<select name="T-shirt-colour" id="T-shirt-colour" required>
35+
<select name="T-shirt-colour" id="T-shirt-colour" required>
3436
<option value="">Choose one colour</option>
35-
<option>Black</option>
36-
<option>Navy blue</option>
37-
<option>Grey</option>
38-
</select>
39-
40-
41-
</div>
42-
43-
<div>
44-
<label for="T-shirt Size">Select one size:</label>
45-
<select name="T-shirt-Size" id="T-shirt-Size" required>
46-
<option value=""> Choose one size</option>
47-
<option>XS</option>
48-
<option>S</option>
49-
<option>M</option>
50-
<option>L</option>
51-
<option>XL</option>
52-
<option>XXL</option>
53-
54-
55-
</select>
56-
57-
58-
</div>
59-
60-
61-
<button type="Submit">Submit</button>
62-
37+
<option>Black</option>
38+
<option>Navy blue</option>
39+
<option>Grey</option>
40+
</select>
41+
</div>
6342

64-
65-
66-
67-
68-
69-
70-
71-
43+
<div>
44+
<label for="T-shirt Size">Select one size:</label>
45+
<select name="T-shirt-Size" id="T-shirt-Size" required>
46+
<option value="">Choose one size</option>
47+
<option>XS</option>
48+
<option>S</option>
49+
<option>M</option>
50+
<option>L</option>
51+
<option>XL</option>
52+
<option>XXL</option>
53+
</select>
54+
</div>
55+
56+
<button type="Submit">Submit</button>
7257
</form>
7358
</main>
7459
<footer>
75-
76-
77-
<p>By Sakiya Mayow </p>
60+
<p>By Sakiya Mayow</p>
7861
</footer>
7962
</body>
8063
</html>

0 commit comments

Comments
 (0)