Skip to content

Commit e71f2fb

Browse files
Added some indentation
1 parent 3ee1bfc commit e71f2fb

1 file changed

Lines changed: 29 additions & 16 deletions

File tree

‎Form-Controls/index.html‎

Lines changed: 29 additions & 16 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" />
@@ -19,30 +19,43 @@ <h1>Product Pick</h1>
1919
this will also help you fill in your PR message later-->
2020

2121
<!-- TODO1: Customer name -->
22-
<div>
22+
<div>
2323
<label for="name">Full Name:</label>
24-
<input type="text" name="name" id="name" placeholder="Enter Your Name" required pattern=".*\S.*\S.*">
25-
</div>
24+
<input
25+
type="text"
26+
name="name"
27+
id="name"
28+
placeholder="Enter Your Name"
29+
required
30+
pattern=".*\S.*\S.*"
31+
/>
32+
</div>
2633

27-
<!-- TODO2: Customer email -->
28-
<div>
34+
<!-- TODO2: Customer email -->
35+
<div>
2936
<label for="email">Enter Your Email:</label>
30-
<input type="email" id="email" name="email" placeholder="Email" required>
31-
</div>
37+
<input
38+
type="email"
39+
id="email"
40+
name="email"
41+
placeholder="Email"
42+
required
43+
/>
44+
</div>
3245

33-
<!-- TODO3: Colors to choose from -->
34-
<div>
46+
<!-- TODO3: Colors to choose from -->
47+
<div>
3548
<label for="color">Color</label>
3649
<select name="color" id="color" required>
3750
<option value="">Please choose a color</option>
3851
<option value="navy">Navy</option>
3952
<option value="sage green">Sage Green</option>
4053
<option value="charcoal">Charcoal</option>
4154
</select>
42-
</div>
55+
</div>
4356

44-
<!-- TODO4: Sizes to choose from -->
45-
<div>
57+
<!-- TODO4: Sizes to choose from -->
58+
<div>
4659
<label for="size">Choose a Size</label>
4760
<select name="size" id="size" required>
4861
<option value="">Select a size</option>
@@ -53,11 +66,11 @@ <h1>Product Pick</h1>
5366
<option value="XL">XL</option>
5467
<option value="XXL">XXL</option>
5568
</select>
56-
</div>
69+
</div>
5770

58-
<button type="submit">Submit</button>
71+
<button type="submit">Submit</button>
5972
</form>
60-
</main>
73+
</main>
6174
<footer>
6275
<!-- change to your name-->
6376
<p>By RAHANA SULEIMAN</p>

0 commit comments

Comments
 (0)